mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Backward compatibility code for old plugins.
This commit is contained in:
@@ -700,7 +700,9 @@ class admin_shortcodes
|
||||
|
||||
// FIXME @TODO $plugPath is using the URL to detect the path. It should use $_SERVER['SCRIPT_FILENAME']
|
||||
$plugpath = e_PLUGIN.str_replace(basename(e_SELF),'',str_replace('/'.$plugindir,'','/'.strstr(e_SELF,$plugindir))).'admin_menu.php';
|
||||
|
||||
|
||||
$action = e_QUERY; // required.
|
||||
|
||||
if(file_exists($plugpath))
|
||||
{
|
||||
if (!$parm)
|
||||
|
Reference in New Issue
Block a user