mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Hide e107 object unless developing.
This commit is contained in:
@@ -698,10 +698,16 @@ class e107_db_debug {
|
|||||||
<td class='forumheader3'>SQL Language</td>
|
<td class='forumheader3'>SQL Language</td>
|
||||||
<td class='forumheader3'>".$sql->mySQLlanguage."</td>
|
<td class='forumheader3'>".$sql->mySQLlanguage."</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
";
|
||||||
|
if($_SERVER['E_DEV'] == 'true')
|
||||||
|
{
|
||||||
|
$text .= "
|
||||||
|
<tr>
|
||||||
|
<td class='forumheader3' colspan='2'><pre>".htmlspecialchars(print_r($e107,TRUE))."</pre></td>
|
||||||
|
</tr>";
|
||||||
|
}
|
||||||
|
|
||||||
<tr>
|
$text .="
|
||||||
<td class='forumheader3' colspan='2'><pre>".htmlspecialchars(print_r($e107,TRUE))."</pre></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class='fcaption' colspan='2'><h2>Session</h2></td>
|
<td class='fcaption' colspan='2'><h2>Session</h2></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Reference in New Issue
Block a user