Add the appropriate laravel bootstrapping to PM web application and command line tool.
This commit is contained in:
committed by
davidcallizaya
parent
601471be9e
commit
0ccae19bd4
@@ -1,7 +1,9 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$scriptDir = dirname(__FILE__).'/';
|
||||
// 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/');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
require_once(__DIR__ . '/../../bootstrap/autoload.php');
|
||||
// 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';
|
||||
|
||||
register_shutdown_function(
|
||||
create_function(
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user