Files
luos/processmaker
David Callizaya 52322493df HOR-3769
Fix Net class and error reporting level.
2017-08-25 10:57:20 -04:00

19 lines
646 B
PHP
Executable File

#!/usr/bin/env php
<?php
use Illuminate\Foundation\Console\Kernel;
// Because laravel has a __ helper function, it's important we include the class.g file to ensure our __ is used.
require_once __DIR__ . '/gulliver/system/class.g.php';
require_once __DIR__ . '/bootstrap/autoload.php';
require_once __DIR__ . '/bootstrap/app.php';
$scriptDir = dirname(__FILE__).'/';
define("PROCESSMAKER_PATH", $scriptDir);
define("WORKFLOW_PATH", $scriptDir . 'workflow/');
define("WORKFLOW_BIN_PATH", $scriptDir . 'workflow/engine/bin/');
error_reporting(error_reporting() & ~E_DEPRECATED & ~E_STRICT);
include WORKFLOW_BIN_PATH . '/cli.php';