4 if (!checkRole(
"admin") && $_SERVER[
"REMOTE_ADDR"] != $_SERVER[
"SERVER_ADDR"] && $_SERVER[
"REMOTE_ADDR"] !=
"127.0.0.1")
6 throw new FakoliException(
"Scheduled tasks cannot be run from {$_SERVER["REMOTE_ADDR
"]}");
FakoliException is the base exception class for all Fakoli errors.
static using()
Import the datamodels, views and manifest for the specified component(s).
Manages scheduled task registration and execution.
if(!checkRole("admin") && $_SERVER["REMOTE_ADDR"] !=$_SERVER["SERVER_ADDR"] && $_SERVER["REMOTE_ADDR"] !="127.0.0.1") $mgr