mirror of https://github.com/itflow-org/itflow
Update function path for customAction to use the new path /custom and not /xcustom
This commit is contained in:
parent
6f5ffef22f
commit
373f1574bd
|
|
@ -1482,8 +1482,8 @@ function enforceAdminPermission() {
|
|||
|
||||
function customAction($trigger, $entity) {
|
||||
chdir(dirname(__FILE__));
|
||||
if (file_exists(__DIR__ . "/xcustom/xcustom_action_handler.php")) {
|
||||
include_once __DIR__ . "/xcustom/xcustom_action_handler.php";
|
||||
if (file_exists(__DIR__ . "/custom/custom_action_handler.php")) {
|
||||
include_once __DIR__ . "/custom/custom_action_handler.php";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue