|
Tim Hunt made changes - 19/Oct/07 04:23 PM
Setting $CFG->wwwroot to '' is not the only way to get your site working over the internet.
As you found, it does not work at all. Also, this bug with $CFG->wwwroot set incorrectly causing strange errors has been reported several tiems before. Please search for duplicate bug reports before filing new ones.
Tim Hunt made changes - 19/Oct/07 04:25 PM
Thanks Tim.
Last nigt I solved it. Sorry by reported as a new bugs, but when I search in bug tracking I didn´t find it. I think that if bugs reports including a debugging messages from moodle it could be easier to find it. Thanks again for your fast answer. Regards |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = '';
$CFG->dirroot = 'C:\moodle\moodle';
$CFG->dataroot = 'e:\moodle/moodledata';
The $CFG->wwwroot = ''; is empty because was the only way that my site work over internet