many updates

This commit is contained in:
Paul Spenke
2023-07-10 21:27:43 +08:00
parent 249f6b06b5
commit cd9dc85420
29 changed files with 3164 additions and 962 deletions
+8 -4
View File
@@ -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');