1
0
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:
Cameron
2017-10-11 11:39:18 -07:00
parent 4bff6f2be8
commit 2a1f3b0d61
3 changed files with 65 additions and 1 deletions

View File

@@ -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)