diff --git a/e107_admin/boot.php b/e107_admin/boot.php index be9fdd1af..5712d8045 100644 --- a/e107_admin/boot.php +++ b/e107_admin/boot.php @@ -27,7 +27,8 @@ e107::coreLan('footer', true); // DEPRECATED - plugins should load their lans manually // plugin autoload, will be removed in the future! // here mostly because of BC reasons -if(!deftrue('e_MINIMAL')) +//if(!deftrue('e_MINIMAL')) +if(!deftrue('e_ADMIN_UI')) { $_plugins = e107::getPref('plug_installed'); diff --git a/e107_plugins/faqs/admin_config.php b/e107_plugins/faqs/admin_config.php index a984c5745..0345ddd13 100644 --- a/e107_plugins/faqs/admin_config.php +++ b/e107_plugins/faqs/admin_config.php @@ -16,15 +16,10 @@ | $Author$ +----------------------------------------------------------------------------+ */ -define('e_MINIMAL',true); +//define('e_MINIMAL',true); require_once("../../class2.php"); -if (!getperms("P")) -{ - header("location:".e_BASE."index.php"); - exit; -} - +e107::lan('faqs', 'admin'); class faq_admin extends e_admin_dispatcher {