mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Fixed E_NOTICE in plugin install/uninstall process
- FIX: e107::coreLan() now loads the lan_admin.php file if the $admin argument is true - FIX: Variable scope of $eplug_folder in e107plugin::uninstall() - FIX: isset() check order in pluginsTest::makePluginReport() - FIX: class2.php: Missing ADMINPERMS constant in CLI mode
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
$debug_text .= "---- Pref: plug_installed (version)\n\n";
|
||||
$pref = e107::getConfig('core',true,true)->get('plug_installed');
|
||||
|
||||
$debug_text .= print_r($pref[$pluginDir],true);
|
||||
|
||||
$installedPref = isset($pref[$pluginDir]) ? $pref[$pluginDir] : false;
|
||||
|
||||
$debug_text .= print_r($installedPref,true);
|
||||
|
||||
$debug_text .= "\n\n---- Plugin Prefs: \n\n";
|
||||
$pluginPref = e107::pref($pluginDir);
|
||||
$debug_text .= print_r($pluginPref,true);
|
||||
|
Reference in New Issue
Block a user