mirror of
https://github.com/moodle/moodle.git
synced 2025-05-11 18:56:09 +02:00
fixes \ / issue (Win/Linux)
This commit is contained in:
parent
67afeedd73
commit
6b51c209e6
@ -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
|
||||
|
||||
|
@ -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)) {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user