Merge branch 'MDL-39474-master' of git://github.com/sammarshallou/moodle

This commit is contained in:
Dan Poltawski
2013-06-17 15:36:15 +08:00
6 changed files with 20 additions and 3 deletions
+1
View File
@@ -150,6 +150,7 @@ $CFG->docroot = 'http://docs.moodle.org';
$CFG->running_installer = true;
$CFG->early_install_lang = true;
$CFG->ostype = (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) ? 'WINDOWS' : 'UNIX';
$CFG->developerdebug = true;
$parts = explode('/', str_replace('\\', '/', dirname(dirname(__FILE__))));
$CFG->admin = array_pop($parts);