/[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.1 - (show annotations) (download)
Sun Dec 23 21:41:07 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-moodle-1_0-6_el4_sme, smeserver-moodle-1_0-8_el4_sme, smeserver-moodle-1_0-5_el4_sme, smeserver-moodle-1_0-7_el4_sme, smeserver-moodle-1_0-9_el4_sme, smeserver-moodle-1_0-4_el4_sme, smeserver-moodle-1_0-11_el4_sme
Import on branch contribs7 of package smeserver-moodle-1.0-4.el4.sme.src.rpm

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