mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
#3680 - Refine previous commit, check for e_DEBUG
This commit is contained in:
@@ -188,7 +188,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
|
||||
if(e107::getPref('comments_disabled') == 0 && !$comflag)
|
||||
{
|
||||
if(ADMIN)
|
||||
if(ADMIN && deftrue('e_DEBUG'))
|
||||
{
|
||||
if(defined('BOOTSTRAP') && BOOTSTRAP)
|
||||
{
|
||||
|
Reference in New Issue
Block a user