@@ -36,17 +36,17 @@ discard block |
||
36 | 36 | const ENGINE_VERSION = '3.4.1 build-2019/09/07'; |
37 | 37 | const ENGINE_DIR = __DIR__; |
38 | 38 | |
39 | -chdir (ENGINE_DIR); |
|
39 | +chdir(ENGINE_DIR); |
|
40 | 40 | |
41 | 41 | $GLOBALS['error_status'] = true; |
42 | 42 | |
43 | 43 | $GLOBALS['__debug'] = [ |
44 | - 'start_time' => microtime (true) |
|
44 | + 'start_time' => microtime(true) |
|
45 | 45 | ]; |
46 | 46 | |
47 | -$GLOBALS['__ub_write_handler'] = function (...$args) |
|
47 | +$GLOBALS['__ub_write_handler'] = function(...$args) |
|
48 | 48 | { |
49 | - pre (...$args); |
|
49 | + pre(...$args); |
|
50 | 50 | }; |
51 | 51 | |
52 | 52 | require 'common/EngineInterfaces.php'; |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | require 'common/Others.php'; |
56 | 56 | require 'common/Events.php'; |
57 | 57 | |
58 | -define ('VoidEngine\CORE_VERSION', $APPLICATION->productVersion); |
|
58 | +define('VoidEngine\CORE_VERSION', $APPLICATION->productVersion); |
|
59 | 59 | |
60 | 60 | require 'components/Component.php'; |
61 | 61 | require 'components/Control.php'; |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | require 'components/FastColoredTextBox.php'; |
105 | 105 | require 'components/Scintilla.php'; |
106 | 106 | |
107 | -if (is_dir ('extensions')) |
|
108 | - foreach (scandir ('extensions') as $ext) |
|
109 | - if (is_dir ('extensions/'. $ext) && file_exists ($ext = 'extensions/'. $ext .'/main.php')) |
|
107 | +if (is_dir('extensions')) |
|
108 | + foreach (scandir('extensions') as $ext) |
|
109 | + if (is_dir('extensions/'.$ext) && file_exists($ext = 'extensions/'.$ext.'/main.php')) |
|
110 | 110 | require $ext; |