many updates
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
<?php
|
||||
// Uncomment to disable error reporting
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
require_once __DIR__.'/plugi-core/src/Core/EnvLoader.php';
|
||||
|
||||
(new Plugi\Core\EnvLoader())->load();
|
||||
|
||||
if ($_ENV['STAGE'] !== 'production') {
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
}
|
||||
|
||||
// Uncomment if you downloaded Plugi
|
||||
require_once __DIR__ . '/plugi-core/src/Core/helpers.php';
|
||||
spl_autoload_register('phpb_autoload');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user