mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Admin Language files autoload denied for new admin UI areas
This commit is contained in:
@@ -27,7 +27,8 @@ e107::coreLan('footer', true);
|
|||||||
// DEPRECATED - plugins should load their lans manually
|
// DEPRECATED - plugins should load their lans manually
|
||||||
// plugin autoload, will be removed in the future!
|
// plugin autoload, will be removed in the future!
|
||||||
// here mostly because of BC reasons
|
// here mostly because of BC reasons
|
||||||
if(!deftrue('e_MINIMAL'))
|
//if(!deftrue('e_MINIMAL'))
|
||||||
|
if(!deftrue('e_ADMIN_UI'))
|
||||||
{
|
{
|
||||||
|
|
||||||
$_plugins = e107::getPref('plug_installed');
|
$_plugins = e107::getPref('plug_installed');
|
||||||
|
@@ -16,15 +16,10 @@
|
|||||||
| $Author$
|
| $Author$
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
define('e_MINIMAL',true);
|
//define('e_MINIMAL',true);
|
||||||
require_once("../../class2.php");
|
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
|
class faq_admin extends e_admin_dispatcher
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user