common.php / Hooks for plugins (admin tools) change to manage
SeditioCMS opened this issue · comments
Seditio CMS commented
This should change to manage
/* ======== Hooks for plugins (admin tools) ======== */
if (defined('SED_ADMIN') && $m == 'tools' && !empty($_GET['p'])) {
$extp = sed_getextplugins('common.tool.' . $_GET['p']);
if (is_array($extp)) {
foreach ($extp as $k => $pl) {
include(SED_ROOT . '/plugins/' . $pl['pl_code'] . '/' . $pl['pl_file'] . '.php');
}
}
}