Update main.php

This commit is contained in:
myvesta 2020-08-30 05:14:41 +02:00 committed by GitHub
parent 3919840fc4
commit a2be18cc18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ $myvesta_exit_on_error=true;
define('MYVESTA_ERROR_PERMISSION_DENIED', 1); define('MYVESTA_ERROR_PERMISSION_DENIED', 1);
define('MYVESTA_ERROR_MISSING_ARGUMENTS', 2); define('MYVESTA_ERROR_MISSING_ARGUMENTS', 2);
define('MYVESTA_ERROR_FILE_DOES_NOT_EXISTS', 3); define('MYVESTA_ERROR_FILE_DOES_NOT_EXISTS', 3);
define('MYVESTA_ERROR_STRING_DOES_NOT_EXISTS', 4); define('MYVESTA_ERROR_STRING_NOT_FOUND', 4);
function myvesta_throw_error($code, $message) { function myvesta_throw_error($code, $message) {
global $myvesta_exit_on_error; global $myvesta_exit_on_error;