2010-12-02 23:34:41 +00:00
|
|
|
#!/usr/bin/env php
|
|
|
|
|
<?php
|
2017-07-28 06:14:34 -07:00
|
|
|
use Illuminate\Foundation\Console\Kernel;
|
|
|
|
|
|
2017-07-27 15:29:55 -07:00
|
|
|
// Because laravel has a __ helper function, it's important we include the class.g file to ensure our __ is used.
|
2017-08-09 15:48:00 -04:00
|
|
|
require_once __DIR__ . '/gulliver/system/class.g.php';
|
|
|
|
|
require_once __DIR__ . '/bootstrap/autoload.php';
|
|
|
|
|
require_once __DIR__ . '/bootstrap/app.php';
|
2017-07-28 06:14:34 -07:00
|
|
|
$app->make(Kernel::class)->bootstrap();
|
|
|
|
|
|
|
|
|
|
$scriptDir = dirname(__FILE__).'/';
|
2013-05-16 20:48:16 +00:00
|
|
|
|
2010-12-02 23:34:41 +00:00
|
|
|
define("PROCESSMAKER_PATH", $scriptDir);
|
|
|
|
|
define("WORKFLOW_PATH", $scriptDir . 'workflow/');
|
|
|
|
|
define("WORKFLOW_BIN_PATH", $scriptDir . 'workflow/engine/bin/');
|
2016-03-17 17:05:36 -04:00
|
|
|
error_reporting(error_reporting() & ~E_DEPRECATED & ~E_STRICT);
|
|
|
|
|
|
2012-04-12 18:47:00 -04:00
|
|
|
include WORKFLOW_BIN_PATH . '/cli.php';
|
2010-12-02 23:34:41 +00:00
|
|
|
|