MYVESTA_QUIET as export variable

This commit is contained in:
myvesta 2023-04-15 18:51:15 +02:00 committed by GitHub
commit 075c5e231b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,8 @@
$myvesta_exit_on_error=true;
$myvesta_quiet_mode=0;
if (isset($_SERVER['MYVESTA_QUIET'])) $myvesta_quiet_mode=intval($_SERVER['MYVESTA_QUIET']);
define('MYVESTA_ERROR_PERMISSION_DENIED', 1);
define('MYVESTA_ERROR_MISSING_ARGUMENTS', 2);
define('MYVESTA_ERROR_FILE_DOES_NOT_EXISTS', 3);