mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Error fix
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner/banner_menu.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/banner/banner_menu.php,v $
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
* $Date: 2009-11-18 01:05:22 $
|
* $Date: 2009-11-19 22:02:19 $
|
||||||
* $Author: e107coders $
|
* $Author: marj_nl_fr $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -27,15 +27,15 @@ To define your own banner to use here ...
|
|||||||
3. Save file
|
3. Save file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
e107::getLan(e_PLUGIN."banner/languages/".e_LANGUAGE."_menu_banner.php");
|
include_lan(e_PLUGIN."banner/languages/".e_LANGUAGE."_menu_banner.php");
|
||||||
global $THEMES_DIRECTORY;
|
|
||||||
if(file_exists(THEME."banner_template.php"))
|
if(file_exists(THEME."banner_template.php"))
|
||||||
{
|
{
|
||||||
require_once (THEME."banner_template.php");
|
require_once (THEME."banner_template.php");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
require_once(e_BASE.$THEMES_DIRECTORY."templates/banner_template.php");
|
require_once (e_THEME."templates/banner_template.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($campaign))
|
if(isset($campaign))
|
||||||
@@ -89,4 +89,5 @@ else
|
|||||||
echo $txt;
|
echo $txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user