Moved laravel boot after ProcessMaker loads its evironment constants. (PATH_DATA for shared folder)
This commit is contained in:
davidcallizaya
2017-08-07 13:02:26 -04:00
parent cd0bd1d25b
commit 21a0b9508e
13 changed files with 52 additions and 28 deletions

View File

@@ -2,10 +2,9 @@
use Illuminate\Foundation\Http\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';
$app->make(Kernel::class)->bootstrap();
require_once __DIR__ . '/../../gulliver/system/class.g.php';
require_once __DIR__ . '/../../bootstrap/autoload.php';
require_once __DIR__ . '/../../bootstrap/app.php';
register_shutdown_function(