Merged in HOR-3700-DC (pull request #5979)
HOR-3700 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
7337a29379
@@ -1,8 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use ProcessMaker\Core\System;
|
use ProcessMaker\Core\System;
|
||||||
|
use Illuminate\Foundation\Http\Kernel;
|
||||||
|
|
||||||
|
require_once __DIR__ . '/../../../gulliver/system/class.g.php';
|
||||||
|
require_once __DIR__ . '/../../../bootstrap/autoload.php';
|
||||||
|
require_once __DIR__ . '/../../../bootstrap/app.php';
|
||||||
|
|
||||||
require_once(__DIR__ . '/../../../bootstrap/autoload.php');
|
|
||||||
try {
|
try {
|
||||||
//Set variables
|
//Set variables
|
||||||
$cronName = pathinfo($_SERVER['SCRIPT_FILENAME'], PATHINFO_FILENAME);
|
$cronName = pathinfo($_SERVER['SCRIPT_FILENAME'], PATHINFO_FILENAME);
|
||||||
@@ -86,6 +90,8 @@ try {
|
|||||||
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
||||||
$e_all = ($arraySystemConfiguration['debug'])? $e_all : $e_all & ~E_NOTICE;
|
$e_all = ($arraySystemConfiguration['debug'])? $e_all : $e_all & ~E_NOTICE;
|
||||||
|
|
||||||
|
app()->useStoragePath(realpath(PATH_DATA));
|
||||||
|
app()->make(Kernel::class)->bootstrap();
|
||||||
//Do not change any of these settings directly, use env.ini instead
|
//Do not change any of these settings directly, use env.ini instead
|
||||||
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
||||||
ini_set('error_reporting', $e_all);
|
ini_set('error_reporting', $e_all);
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
require_once(__DIR__ . '/../../../bootstrap/autoload.php');
|
|
||||||
|
use Illuminate\Foundation\Http\Kernel;
|
||||||
|
|
||||||
|
require_once __DIR__ . '/../../../gulliver/system/class.g.php';
|
||||||
|
require_once __DIR__ . '/../../../bootstrap/autoload.php';
|
||||||
|
require_once __DIR__ . '/../../../bootstrap/app.php';
|
||||||
|
|
||||||
use ProcessMaker\Core\System;
|
use ProcessMaker\Core\System;
|
||||||
use ProcessMaker\Plugins\PluginRegistry;
|
use ProcessMaker\Plugins\PluginRegistry;
|
||||||
@@ -75,6 +80,8 @@ try {
|
|||||||
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
$e_all = (defined('E_STRICT'))? $e_all & ~E_STRICT : $e_all;
|
||||||
$e_all = ($arraySystemConfiguration['debug'])? $e_all : $e_all & ~E_NOTICE;
|
$e_all = ($arraySystemConfiguration['debug'])? $e_all : $e_all & ~E_NOTICE;
|
||||||
|
|
||||||
|
app()->useStoragePath(realpath(PATH_DATA));
|
||||||
|
app()->make(Kernel::class)->bootstrap();
|
||||||
//Do not change any of these settings directly, use env.ini instead
|
//Do not change any of these settings directly, use env.ini instead
|
||||||
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
ini_set('display_errors', $arraySystemConfiguration['debug']);
|
||||||
ini_set('error_reporting', $e_all);
|
ini_set('error_reporting', $e_all);
|
||||||
|
|||||||
Reference in New Issue
Block a user