20 lines
488 B
PHP
20 lines
488 B
PHP
<?php declare(strict_types=1);
|
|
|
|
// require the vendor autoload file
|
|
require '../vendor/autoload.php';
|
|
|
|
// define working context to prevent data breaching
|
|
define("SHIFTCALC", 1);
|
|
|
|
// import the task runner class
|
|
use Nischcodes\Shiftcalc\TaskRunner;
|
|
|
|
//ini_set('display_errors', '1');
|
|
//ini_set('display_startup_errors', '1');
|
|
//error_reporting(E_ALL);
|
|
|
|
// initilize the TaskRunner
|
|
TaskRunner::init();
|
|
|
|
// run the TaskRunner
|
|
TaskRunner::run(); |