[SUCS Devel] site r651 - in branches/sucs-site: components static/About

imranh at sucs.org imranh at sucs.org
Thu Apr 2 12:41:28 BST 2015


Author: imranh
Date: 2015-04-02 12:41:25 +0100 (Thu, 02 Apr 2015)
New Revision: 651

Modified:
   branches/sucs-site/components/motd_wrapper.php
   branches/sucs-site/static/About/Room-secondary.txt
Log:
Misc fixes to the website

Modified: branches/sucs-site/components/motd_wrapper.php
===================================================================
--- branches/sucs-site/components/motd_wrapper.php	2015-03-14 11:00:07 UTC (rev 650)
+++ branches/sucs-site/components/motd_wrapper.php	2015-04-02 11:41:25 UTC (rev 651)
@@ -1,4 +1,14 @@
 <?PHP
 require("/var/www/sucssite/htdocs/settings.php");
 
+require("/usr/share/php/adodb/adodb.inc.php");
+
+$dbname = 'sucssite';
+$dbuser = 'apache';
+
+$DB = NewADOConnection('postgres8');
+$DB->Connect('dbname='.$dbname.' user='.$dbuser);
+$DB->SetCharSet('utf8');
+$DB->SetFetchMode(ADODB_FETCH_ASSOC);
+
 include($base."components/motd.php");

Modified: branches/sucs-site/static/About/Room-secondary.txt
===================================================================
--- branches/sucs-site/static/About/Room-secondary.txt	2015-03-14 11:00:07 UTC (rev 650)
+++ branches/sucs-site/static/About/Room-secondary.txt	2015-04-02 11:41:25 UTC (rev 651)
@@ -24,7 +24,7 @@
 -->
 
 	<div>
-		<img style="max-height:100%; max-width:100%;" src="https://sucs.org/cam/lastsnap.jpg">
+		<img style="max-height:100%; max-width:100%;" src="https://sucs.org/images/lastsnap.jpg">
 	</div>
 
 </div>
\ No newline at end of file




More information about the Devel mailing list