mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-06 15:14:20 +09:00
Improve update script (#987)
* Improve update script * Remove empty else statement
This commit is contained in:
1 parent
fc76549163
commit
5bf8bcd877
2 files changed
+130
-39
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user