mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +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:
@@ -3207,7 +3207,7 @@ class e107
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
define('e_ADMIN_AREA', $inAdminDir);
|
define('e_ADMIN_AREA', ($inAdminDir && !deftrue('USER_AREA')));
|
||||||
define('ADMINDIR', $ADMIN_DIRECTORY);
|
define('ADMINDIR', $ADMIN_DIRECTORY);
|
||||||
|
|
||||||
define('SITEURLBASE', $this->HTTP_SCHEME.'://'.$_SERVER['HTTP_HOST']);
|
define('SITEURLBASE', $this->HTTP_SCHEME.'://'.$_SERVER['HTTP_HOST']);
|
||||||
|
@@ -1043,7 +1043,6 @@ class e_menuManager {
|
|||||||
|
|
||||||
$text .= "</tr></table>";
|
$text .= "</tr></table>";
|
||||||
|
|
||||||
/** FIXME (SecretR - this block is breaking menu manager ($this->menu_areas is always empty )
|
|
||||||
if(!count($this->menu_areas))
|
if(!count($this->menu_areas))
|
||||||
{
|
{
|
||||||
$text = "<div class='alert alert-block alert-warning text-left'>";
|
$text = "<div class='alert alert-block alert-warning text-left'>";
|
||||||
@@ -1057,7 +1056,6 @@ class e_menuManager {
|
|||||||
|
|
||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
// $ns -> tablerender(MENLAN_22.'blabla', $text);
|
// $ns -> tablerender(MENLAN_22.'blabla', $text);
|
||||||
echo $this->renderPanel(MENLAN_22, $text);
|
echo $this->renderPanel(MENLAN_22, $text);
|
||||||
echo $rs->form_close();
|
echo $rs->form_close();
|
||||||
|
Reference in New Issue
Block a user