1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Flipped behavior of e_DEBUG_MENUMANAGER. New Menu-Manager is now the default.

This commit is contained in:
Cameron
2017-01-11 14:19:35 -08:00
parent 241e8bec78
commit 069f24e179
3 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ require_once("../class2.php");
if(e_MENUMANAGER_ACTIVE === false )
{
if(e_DEBUG_MENUMANAGER === true)
if(!deftrue("e_DEBUG_MENUMANAGER"))
{
e107::css('inline', '
@@ -701,7 +701,7 @@ if($_SERVER['E_DEV_MENU'] == 'true')
function e_help()
{
if(e_DEBUG_MENUMANAGER !== true)
if(deftrue("e_DEBUG_MENUMANAGER"))
{
return null;
}

View File

@@ -1256,7 +1256,7 @@ class e_menuManager {
$text .= "</div>";
}
// $ns -> tablerender(MENLAN_22.'blabla', $text);
if(e_DEBUG_MENUMANAGER === true)
if(!deftrue("e_DEBUG_MENUMANAGER"))
{
echo "<div class='menu-panel' style='padding:50px'>Main Content Area</div>";
}

View File

@@ -16,7 +16,7 @@ if (!getperms("2"))
exit;
}
if(e_DEBUG_MENUMANAGER === true)
if(!deftrue("e_DEBUG_MENUMANAGER"))
{
return;
}