Error reporting popravek v ajax klicih

This commit is contained in:
pero1203 2022-03-09 12:23:52 +01:00
parent fb30a7d2a4
commit c07749f3be

View File

@ -14,6 +14,10 @@ if (isDebug()){
error_reporting(E_ALL ^ E_NOTICE); error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', '1'); ini_set('display_errors', '1');
} }
else{
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT);
ini_set('display_errors', '0');
}
Common::start(); Common::start();