Hi
Control Panel : “Output and Debugging Preferences”

“Debug Preference” says :
1: PHP/SQL error messages shown only to Super Admins 2: PHP/SQL error messages shown to anyone - NOT SECURE
While in the database it stores the value 0 OR 2 I guess it should store it 1 OR 2
My mail issue is that site does not display some content on our site because following code in expressionengine/controllers/ee.php around line 86:
if ($this->config->item('debug') == 0 AND $this->output->remove_unparsed_variables == TRUE)
{
$output = preg_replace("/".LD."[^;\n]+?".RD."/", '', $output);
}Even though I am logged in as a superadmin it removes all content which is encrypted by json_encode(..)
I belive it should also check if I am super admin or not If I am logged in as super admin, then at least it should not remove content.
I am not sure how can I set FALSE value to : $this->output->remove_unparsed_variables
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.