sedteam / Seditio

Seditio CMS Source

Home Page:https://seditio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

common.php / Hooks for plugins (admin tools) change to manage

SeditioCMS opened this issue · comments

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');
}
}
}