[Openfirst-cvscommit] SF.net SVN: openfirst: [186] trunk/src/includes/globals.php
Brought to you by:
xtimg
From: <ast...@us...> - 2006-06-22 22:57:20
|
Revision: 186 Author: astronouth7303 Date: 2006-06-22 15:57:16 -0700 (Thu, 22 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=186&view=rev Log Message: ----------- Sets $ogFooter when installing. Modified Paths: -------------- trunk/src/includes/globals.php Modified: trunk/src/includes/globals.php =================================================================== --- trunk/src/includes/globals.php 2006-06-22 22:52:27 UTC (rev 185) +++ trunk/src/includes/globals.php 2006-06-22 22:57:16 UTC (rev 186) @@ -50,6 +50,11 @@ } else { $ogHeader = "../style/headers.php"; } + if(is_readable("style/footers.php")) { + $ogFooter = "style/footers.php"; + } else { + $ogFooter = "../style/footers.php"; + } } define('osUNIX', 'unix'); @@ -209,4 +214,4 @@ $ogUser->saveData(); session_write_close(); } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |