This commit is contained in:
icret
2023-03-11 00:36:37 +08:00
parent 700e001de1
commit 31b39e1070
6 changed files with 19 additions and 31 deletions

View File

@@ -47,7 +47,7 @@ require_once __DIR__ . '/WaterMask.php';
function easyimage_debug()
{
global $config;
if ($config['Debug']) {
if ($config['checkEnv']) {
if (!ini_get('display_errors')) {
ini_set('display_errors', 'On');