1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

introducing 'powered by' info

This commit is contained in:
secretr
2012-10-16 07:35:42 +00:00
parent 7474b685eb
commit d99103dbd9
2 changed files with 11 additions and 2 deletions

View File

@@ -195,6 +195,11 @@ else
// //
@include(realpath(dirname(__FILE__).'/e107_config.php')); @include(realpath(dirname(__FILE__).'/e107_config.php'));
if(!defined('e_POWEREDBY_DISABLE'))
{
define('e_POWEREDBY_DISABLE', false);
}
if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!='')) if(isset($CLASS2_INCLUDE) && ($CLASS2_INCLUDE!=''))
{ {
require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE)); require_once(realpath(dirname(__FILE__).'/'.$CLASS2_INCLUDE));

View File

@@ -2,7 +2,7 @@
/* /*
* e107 website system * 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 * Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * 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! // browser cache control - FIXME - use this value as AJAX requests cache control!
echo "\n<!-- ".md5(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'))." -->\n"; echo "\n<!-- ".md5(deftrue('e_NOCACHE') ? time() : e107::getPref('e_jslib_browser_cache'))." -->\n";
echo "<div id='powered-by-e107' class='e-footer-info' style='display:block; opacity:1.0; text-align:center'>Proudly powered by <a href='http://e107.org'>e107</a></div>"; if(!deftrue('e_POWEREDBY_DISABLE'))
{
// TODO lan
echo "<div id='powered-by-e107' class='e-footer-info'>Proudly powered by <a href='http://e107.org/' title='e107 Content Management System'>e107</a></div>";
}
echo "</body></html>"; echo "</body></html>";
// //