From 6b51c209e617d7369c3e43554eed8770756cf5f6 Mon Sep 17 00:00:00 2001 From: diml Date: Sat, 10 May 2008 18:32:07 +0000 Subject: [PATCH] fixes \ / issue (Win/Linux) --- search/add.php | 2 +- search/delete.php | 2 +- search/update.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/search/add.php b/search/add.php index a7a5e7780df..69e3e80c580 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 dcd9ab599ad..2e844d4aa9c 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 7af53d174fe..1592f8c02b4 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