From: <var...@us...> - 2011-05-04 15:42:34
|
Revision: 8067 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8067&view=rev Author: vargenau Date: 2011-05-04 15:42:28 +0000 (Wed, 04 May 2011) Log Message: ----------- Protect footer with FUSIONFORGE Modified Paths: -------------- trunk/themes/fusionforge/themeinfo.php Modified: trunk/themes/fusionforge/themeinfo.php =================================================================== --- trunk/themes/fusionforge/themeinfo.php 2011-05-04 10:28:35 UTC (rev 8066) +++ trunk/themes/fusionforge/themeinfo.php 2011-05-04 15:42:28 UTC (rev 8067) @@ -82,14 +82,17 @@ } function footer() { - global $HTML; - $domain = textdomain(NULL); - textdomain('fusionforge'); + if (defined('FUSIONFORGE') and FUSIONFORGE) { + global $HTML; - $HTML->footer(array()); + $domain = textdomain(NULL); + textdomain('fusionforge'); - textdomain($domain); + $HTML->footer(array()); + + textdomain($domain); + } } function initGlobals() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |