1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Broken menu manager - reverted (false) temporary fix, source of the issue related with commits on #364. e107 class detects correctly USER_AREA again.

This commit is contained in:
SecretR
2014-03-19 13:27:35 +02:00
parent bfa40870c2
commit a3b21913fe
2 changed files with 1 additions and 3 deletions

View File

@@ -3207,7 +3207,7 @@ class e107
}
define('e_ADMIN_AREA', $inAdminDir);
define('e_ADMIN_AREA', ($inAdminDir && !deftrue('USER_AREA')));
define('ADMINDIR', $ADMIN_DIRECTORY);
define('SITEURLBASE', $this->HTTP_SCHEME.'://'.$_SERVER['HTTP_HOST']);

View File

@@ -1043,7 +1043,6 @@ class e_menuManager {
$text .= "</tr></table>";
/** FIXME (SecretR - this block is breaking menu manager ($this->menu_areas is always empty )
if(!count($this->menu_areas))
{
$text = "<div class='alert alert-block alert-warning text-left'>";
@@ -1057,7 +1056,6 @@ class e_menuManager {
$text .= "</div>";
}
*/
// $ns -> tablerender(MENLAN_22.'blabla', $text);
echo $this->renderPanel(MENLAN_22, $text);
echo $rs->form_close();