Update function path for customAction to use the new path /custom and not /xcustom
This commit is contained in:
@@ -1482,8 +1482,8 @@ function enforceAdminPermission() {
|
|||||||
|
|
||||||
function customAction($trigger, $entity) {
|
function customAction($trigger, $entity) {
|
||||||
chdir(dirname(__FILE__));
|
chdir(dirname(__FILE__));
|
||||||
if (file_exists(__DIR__ . "/xcustom/xcustom_action_handler.php")) {
|
if (file_exists(__DIR__ . "/custom/custom_action_handler.php")) {
|
||||||
include_once __DIR__ . "/xcustom/xcustom_action_handler.php";
|
include_once __DIR__ . "/custom/custom_action_handler.php";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user