diff --git a/ldap_sso.module b/ldap_sso.module index a8970015499f34c94ee289939dc73fc2ac63dc24..220953fa13d00f11b4a4d55f400009db2f9dbaac 100644 --- a/ldap_sso.module +++ b/ldap_sso.module @@ -57,7 +57,7 @@ function ldap_sso_boot() { $login_attempted = FALSE; } require_once(DRUPAL_ROOT . '/includes/common.inc'); - require_once(DRUPAL_ROOT . '/includes/path.inc'); + require_once DRUPAL_ROOT . '/' . variable_get('path_inc', 'includes/path.inc'); $ldap_authentication_conf = variable_get('ldap_authentication_conf', array()); if (isset($ldap_authentication_conf['seamlessLogin']) && $ldap_authentication_conf['seamlessLogin'] == 1 && ($login_attempted != 'true')) { setcookie("seamless_login_attempted", 'true', time() + (int)$ldap_authentication_conf['cookieExpire'], base_path(), "");