/[smecontribs]/rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-20db.patch2
ViewVC logotype

Contents of /rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-20db.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:26 2008 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

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";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed