mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Only load when ajax $pref is on.
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
// $Id: e_header.php,v 1.2 2008-01-27 11:12:59 e107coders Exp $
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
if($eMenuActive['chatbox_menu'])
|
if($eMenuActive['chatbox_menu'] && ($pref['cb_layer']==2))
|
||||||
{
|
{
|
||||||
$eplug_js[] = e_FILE_ABS."e_ajax.php";
|
$eplug_js[] = e_FILE_ABS."e_ajax.php";
|
||||||
$eplug_js[] = e_FILE_ABS."e_ajax.php";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user