@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | $required_packages = array |
25 | 25 | ( |
26 | - array ('github:winforms-php/VoidFramework', '3.5.2'), |
|
27 | - array ('github:KRypt0nn/ConsoleArgs', '1.5'), |
|
28 | - array ('github:winforms-php/VoidBuilder', '1.2') |
|
26 | + array ('github:winforms-php/VoidFramework', '3.5.2'), |
|
27 | + array ('github:KRypt0nn/ConsoleArgs', '1.5'), |
|
28 | + array ('github:winforms-php/VoidBuilder', '1.2') |
|
29 | 29 | ); |
@@ -8,20 +8,20 @@ |
||
8 | 8 | chdir (CORE_DIR); |
9 | 9 | |
10 | 10 | foreach (glob ('ext/php_*.dll') as $ext) |
11 | - if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
12 | - load_extension ($ext); |
|
11 | + if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
12 | + load_extension ($ext); |
|
13 | 13 | |
14 | 14 | if (file_exists ('../engine/VoidEngine.php')) |
15 | - require '../engine/VoidEngine.php'; |
|
15 | + require '../engine/VoidEngine.php'; |
|
16 | 16 | |
17 | 17 | elseif (file_exists (FRAMEWORK_DIR .'/engine/VoidEngine.php')) |
18 | - require FRAMEWORK_DIR .'/engine/VoidEngine.php'; |
|
18 | + require FRAMEWORK_DIR .'/engine/VoidEngine.php'; |
|
19 | 19 | |
20 | 20 | else message ('VoidEngine not founded'); |
21 | 21 | |
22 | 22 | $app = '../../app/start.php'; |
23 | 23 | |
24 | 24 | if (file_exists ($app)) |
25 | - require $app; |
|
25 | + require $app; |
|
26 | 26 | |
27 | 27 | else \VoidCore::callMethod (\VoidCore::createObject ('WinForms_PHP.DebugForm', null), 'ShowDialog'); |
@@ -9,8 +9,8 @@ |
||
9 | 9 | |
10 | 10 | # Подгружаем PHP расширения |
11 | 11 | foreach (glob (CORE_DIR .'/ext/php_*.dll') as $ext) |
12 | - if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
13 | - load_extension ($ext); |
|
12 | + if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
13 | + load_extension ($ext); |
|
14 | 14 | |
15 | 15 | # Подгружаем Qero-пакеты |
16 | 16 | require __DIR__ .'/../qero-packages/autoload.php'; |