1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Only load when ajax $pref is on.

This commit is contained in:
CaMer0n
2008-01-27 11:12:59 +00:00
parent 1eab7f9470
commit 83ae943b98

View File

@@ -1,10 +1,10 @@
<?php
// $Id: e_header.php,v 1.2 2008-01-27 11:12:59 e107coders Exp $
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";
}