Update chat.inc.php
This commit is contained in:
parent
9372da9aa8
commit
3418c3db77
@ -2,7 +2,7 @@
|
|||||||
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
|
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
|
||||||
|
|
||||||
// ACL check
|
// ACL check
|
||||||
switch($setting->getValue('acl_chat_page', 1)) {
|
switch($setting->getValue('system_chat_page', 2)) {
|
||||||
case '0':
|
case '0':
|
||||||
if ($user->isAuthenticated()) {
|
if ($user->isAuthenticated()) {
|
||||||
$smarty->assign("CONTENT", "default.tpl");
|
$smarty->assign("CONTENT", "default.tpl");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user