diff --git a/search/add.php b/search/add.php index b8f1bce94e2..b89cac8ea2b 100644 --- a/search/add.php +++ b/search/add.php @@ -25,7 +25,7 @@ } /// makes inclusions of the Zend Engine more reliable - ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.DIRECTORY_SEPARATOR.PATH_SEPARATOR.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path')); require_once($CFG->dirroot.'/search/lib.php'); require_once($CFG->dirroot.'/search/indexlib.php'); diff --git a/search/delete.php b/search/delete.php index 7a901a2b35f..80fa50fbc84 100644 --- a/search/delete.php +++ b/search/delete.php @@ -25,7 +25,7 @@ } /// makes inclusions of the Zend Engine more reliable - ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.DIRECTORY_SEPARATOR.PATH_SEPARATOR.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path')); require_once($CFG->dirroot.'/search/lib.php'); require_once($CFG->dirroot.'/search/indexlib.php'); diff --git a/search/indexer.php b/search/indexer.php index 0aef13e3842..8cecfd31af6 100644 --- a/search/indexer.php +++ b/search/indexer.php @@ -38,7 +38,7 @@ //require_once("debugging.php"); - ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.DIRECTORY_SEPARATOR.PATH_SEPARATOR.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path')); /// only administrators can index the moodle installation, because access to all pages is required diff --git a/search/indexersplash.php b/search/indexersplash.php index 2a656945415..0b454d58b94 100644 --- a/search/indexersplash.php +++ b/search/indexersplash.php @@ -22,7 +22,7 @@ /// makes inclusions of the Zend Engine more reliable - ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.DIRECTORY_SEPARATOR.PATH_SEPARATOR.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path')); /// check global search is enabled diff --git a/search/update.php b/search/update.php index aa47a92918c..1085e6be1e3 100644 --- a/search/update.php +++ b/search/update.php @@ -25,7 +25,7 @@ } /// makes inclusions of the Zend Engine more reliable - ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.DIRECTORY_SEPARATOR.PATH_SEPARATOR.ini_get('include_path')); + ini_set('include_path', $CFG->dirroot.DIRECTORY_SEPARATOR.'search'.PATH_SEPARATOR.ini_get('include_path')); require_once($CFG->dirroot.'/search/lib.php'); require_once($CFG->dirroot.'/search/indexlib.php');