mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Global plugin batch override fix
This commit is contained in:
parent
2a58184f81
commit
6fcf0da804
@ -291,7 +291,7 @@ class e_parse_shortcode
|
||||
$className = 'plugin_'.$pluginName.'_'.str_replace('/', '_', $className);
|
||||
}
|
||||
|
||||
$globalOverride = $this->isBatchOverride($className);
|
||||
$globalOverride = $this->isBatchOverride(str_replace('plugin_', '', $className));
|
||||
|
||||
// forced override
|
||||
if($overrideClass)
|
||||
@ -339,7 +339,7 @@ class e_parse_shortcode
|
||||
}
|
||||
else
|
||||
{
|
||||
$path = e_CORE.'override/shortcodes/batch/'.$pluginName.'/'.$_class_fname.'.php';
|
||||
$path = e_CORE.'override/shortcodes/batch/'.$pluginName.'_'.$_class_fname.'.php';
|
||||
$className = 'override_'.$className;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user