@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | const ENGINE_VERSION = '4.0.0rc1'; |
35 | 35 | const ENGINE_DIR = __DIR__; |
36 | 36 | |
37 | -chdir (ENGINE_DIR); |
|
37 | +chdir(ENGINE_DIR); |
|
38 | 38 | |
39 | 39 | require 'common/Events.php'; |
40 | 40 | require 'common/EngineInterfaces.php'; |
@@ -43,15 +43,15 @@ discard block |
||
43 | 43 | require 'common/Components.php'; |
44 | 44 | require 'common/Others.php'; |
45 | 45 | |
46 | -define ('VoidEngine\CORE_VERSION', $APPLICATION->productVersion); |
|
46 | +define('VoidEngine\CORE_VERSION', $APPLICATION->productVersion); |
|
47 | 47 | |
48 | 48 | require 'components/Component.php'; |
49 | 49 | require 'components/Control.php'; |
50 | 50 | |
51 | -foreach (glob ('components/*/*.php') as $name) |
|
51 | +foreach (glob('components/*/*.php') as $name) |
|
52 | 52 | require $name; |
53 | 53 | |
54 | -if (file_exists ('extensions')) |
|
55 | - foreach (scandir ('extensions') as $ext) |
|
56 | - if (file_exists ($ext = 'extensions/'. $ext .'/main.php')) |
|
54 | +if (file_exists('extensions')) |
|
55 | + foreach (scandir('extensions') as $ext) |
|
56 | + if (file_exists($ext = 'extensions/'.$ext.'/main.php')) |
|
57 | 57 | require $ext; |