mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-18672 and MDL-18679 fixed. DIRECTORY_SEPARATOR / PATH_SEPARATOR mismatch
This commit is contained in:
parent
3ad2bfedfc
commit
d8f209e84d
@ -30,7 +30,7 @@
|
||||
global $DB;
|
||||
|
||||
/// makes inclusions of the Zend Engine more reliable
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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');
|
||||
|
@ -28,7 +28,7 @@
|
||||
global $DB;
|
||||
|
||||
/// makes inclusions of the Zend Engine more reliable
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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');
|
||||
|
@ -37,7 +37,7 @@
|
||||
require_once('../config.php');
|
||||
require_once($CFG->dirroot.'/search/lib.php');
|
||||
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
require_once('../config.php');
|
||||
|
||||
/// makes inclusions of the Zend Engine more reliable
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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');
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
require_once('../../config.php');
|
||||
|
||||
/// makes inclusions of the Zend Engine more reliable
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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');
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
global $DB;
|
||||
|
||||
/// makes inclusions of the Zend Engine more reliable
|
||||
ini_set('include_path', $CFG->dirroot.PATH_SEPARATOR.'search'.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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user