Improve update script (#987)

* Improve update script

* Remove empty else statement
This commit is contained in:
Belle Aerni authored and GitHub committed 2023-03-24 00:13:05 -07:00
1 parent fc76549163
commit 5bf8bcd877
2 files changed
+130 -39

No files matched your search

-10
View File
@@ -28,16 +28,6 @@ const PATH_UPLOADS = PATH_ROOT . DIRECTORY_SEPARATOR. 'uploads';
const PATH_DATA = PATH_ROOT . DIRECTORY_SEPARATOR. 'data';
const isCLI = 'cli' === PHP_SAPI;
// Deprecated aliases
const BB_PATH_ROOT = PATH_ROOT;
const BB_PATH_VENDOR = PATH_VENDOR;
const BB_PATH_LIBRARY = PATH_LIBRARY;
const BB_PATH_THEMES = PATH_THEMES;
const BB_PATH_MODS = PATH_MODS;
const BB_PATH_LANGS = PATH_LANGS;
const BB_PATH_UPLOADS = PATH_UPLOADS;
const BB_PATH_DATA = PATH_DATA;
function handler_error(int $number, string $message, string $file, int $line)
{
if (E_RECOVERABLE_ERROR === $number) {