diff --git a/class2.php b/class2.php index 0a5853e53..d289bb032 100644 --- a/class2.php +++ b/class2.php @@ -195,6 +195,11 @@ else // @include(realpath(dirname(__FILE__).'/e107_config.php')); +if(!defined('e_POWEREDBY_DISABLE')) +{ + define('e_POWEREDBY_DISABLE', false); +} + if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!='')) { require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE)); diff --git a/e107_themes/templates/footer_default.php b/e107_themes/templates/footer_default.php index 8d17ebe0a..2b5cfa606 100644 --- a/e107_themes/templates/footer_default.php +++ b/e107_themes/templates/footer_default.php @@ -2,7 +2,7 @@ /* * e107 website system * -* Copyright 2008-2010 e107 Inc (e107.org) +* Copyright 2008-2012 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -307,7 +307,11 @@ if (abs($_serverTime - $lastSet) > 120) // // browser cache control - FIXME - use this value as AJAX requests cache control! echo "\n\n"; -echo "
"; +if(!deftrue('e_POWEREDBY_DISABLE')) +{ + // TODO lan + echo " "; +} echo "