From: diml Date: Sat, 10 May 2008 18:32:07 +0000 (+0000) Subject: fixes \ / issue (Win/Linux) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6b51c209e617d7369c3e43554eed8770756cf5f6;p=moodle.git fixes \ / issue (Win/Linux) --- diff --git a/search/add.php b/search/add.php index a7a5e7780d..69e3e80c58 100644 --- a/search/add.php +++ b/search/add.php @@ -24,7 +24,7 @@ /// makes inclusions of the Zend Engine more reliable $separator = (array_key_exists('WINDIR', $_SERVER)) ? ';' : ':' ; - ini_set('include_path', $CFG->dirroot.'\search'.$separator.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.'/search'.$separator.ini_get('include_path')); /// checks global search activation diff --git a/search/delete.php b/search/delete.php index dcd9ab599a..2e844d4aa9 100644 --- a/search/delete.php +++ b/search/delete.php @@ -24,7 +24,7 @@ /// makes inclusions of the Zend Engine more reliable $separator = (array_key_exists('WINDIR', $_SERVER)) ? ';' : ':' ; - ini_set('include_path', $CFG->dirroot.'\search'.$separator.ini_get('include_path'));require_login(); + ini_set('include_path', $CFG->dirroot.'/search'.$separator.ini_get('include_path'));require_login(); /// checks global search activation if (empty($CFG->enableglobalsearch)) { diff --git a/search/update.php b/search/update.php index 7af53d174f..1592f8c02b 100644 --- a/search/update.php +++ b/search/update.php @@ -24,7 +24,7 @@ /// makes inclusions of the Zend Engine more reliable $separator = (array_key_exists('WINDIR', $_SERVER)) ? ';' : ':' ; - ini_set('include_path', $CFG->dirroot.'\search'.$separator.ini_get('include_path'));require_login(); + ini_set('include_path', $CFG->dirroot.'/search'.$separator.ini_get('include_path'));require_login(); /// checks global search activation