1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

Hide e107 object unless developing.

This commit is contained in:
Cameron
2017-02-16 15:45:52 -08:00
parent ea651dfff9
commit 07ee77dc7d

View File

@@ -698,10 +698,16 @@ class e107_db_debug {
<td class='forumheader3'>SQL Language</td>
<td class='forumheader3'>".$sql->mySQLlanguage."</td>
</tr>
";
if($_SERVER['E_DEV'] == 'true')
{
$text .= "
<tr>
<td class='forumheader3' colspan='2'><pre>".htmlspecialchars(print_r($e107,TRUE))."</pre></td>
</tr>";
}
<tr>
<td class='forumheader3' colspan='2'><pre>".htmlspecialchars(print_r($e107,TRUE))."</pre></td>
</tr>
$text .="
<tr>
<td class='fcaption' colspan='2'><h2>Session</h2></td>
</tr>