1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/20db mezzanine_patched_smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/20db |
2 |
--- smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/20db 2007-07-06 08:32:40.000000000 -0600 |
3 |
+++ mezzanine_patched_smeserver-moodle-1.0/root/etc/e-smith/templates/opt/moodle/html/config.php/20db 2007-09-01 19:17:24.000000000 -0600 |
4 |
@@ -1,7 +1,9 @@ |
5 |
|
6 |
// SME Server Settings |
7 |
{ |
8 |
- my $wwwroot = "http://$moodle{domain}" || "http://$DomainName/moodle"; |
9 |
+ my $wwwroot = "http://$DomainName/moodle"; |
10 |
+ if ($moodle{domain}) |
11 |
+ { $wwwroot = "http://$moodle{domain}"; } |
12 |
|
13 |
$OUT .= "\$CFG->dbname = \'$moodle{DbName}\'\; \n"; |
14 |
$OUT .= "\$CFG->dbuser = \'$moodle{DbUser}\'\; \n"; |