"MDL-21146, adding file license support to repository api, first commit"

This commit is contained in:
Dongsheng Cai
2010-03-29 03:39:08 +00:00
parent 58ee83619c
commit 1dce6261b7
34 changed files with 704 additions and 85 deletions
+4
View File
@@ -260,6 +260,10 @@ if (!isset($CFG->prefix)) { // Just in case it isn't defined in config.php
$CFG->prefix = '';
}
if (empty($CFG->sitedefaultlicense)) {
$CFG->sitedefaultlicense = 'allrightsreserved';
}
//point pear include path to moodles lib/pear so that includes and requires will search there for files before anywhere else
//the problem is that we need specific version of quickforms and hacked excel files :-(
ini_set('include_path', $CFG->libdir.'/pear' . PATH_SEPARATOR . ini_get('include_path'));