@@ -55,10 +55,10 @@ |
||
55 | 55 | * Try to load classes from different places. If not found in one place - try in another. |
56 | 56 | */ |
57 | 57 | if ( |
58 | - file_exists($file = CORE."/classes/$namespace/$class_name.php") || //Core classes |
|
58 | + file_exists($file = CORE."/classes/$namespace/$class_name.php") || //Core classes |
|
59 | 59 | file_exists($file = CORE."/thirdparty/$namespace/$class_name.php") || //Third party classes |
60 | - file_exists($file = CORE."/traits/$namespace/$class_name.php") || //Core traits |
|
61 | - file_exists($file = CORE."/engines/$namespace/$class_name.php") || //Core engines |
|
60 | + file_exists($file = CORE."/traits/$namespace/$class_name.php") || //Core traits |
|
61 | + file_exists($file = CORE."/engines/$namespace/$class_name.php") || //Core engines |
|
62 | 62 | file_exists($file = MODULES."/../$namespace/$class_name.php") //Classes in modules |
63 | 63 | ) { |
64 | 64 | $cache[$class] = realpath($file); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | php build.php -M core -m Plupload,Static_pages |
76 | 76 | php build.php -M core -p TinyMCE -t DarkEnergy -s custom |
77 | 77 | php build.php -M module -m Plupload,Static_pages |
78 | -HELP; |
|
78 | +help; |
|
79 | 79 | } elseif ($mode == 'core') { |
80 | 80 | echo $Builder->core($modules, $plugins, $themes, $suffix)."\n"; |
81 | 81 | } else { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | 'storage' => 'json', |
77 | 77 | 'components' => 'json' |
78 | 78 | ]; |
79 | - protected $table = '[prefix]config'; |
|
79 | + protected $table = '[prefix]config'; |
|
80 | 80 | protected function cdb () { |
81 | 81 | return 0; |
82 | 82 | } |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | return $multilingual_options; |
165 | 165 | } |
166 | 166 | ); |
167 | - $this->core = $multilingual_options + $this->core; |
|
167 | + $this->core = $multilingual_options + $this->core; |
|
168 | 168 | } |
169 | 169 | /** |
170 | 170 | * Applying settings without saving changes into db |
@@ -37,7 +37,7 @@ |
||
37 | 37 | return $Config->module($module) && file_exists_with_extension(MODULES."/$module/index", ['php', 'html', 'json']); |
38 | 38 | } |
39 | 39 | ); |
40 | - $themes = get_files_list(THEMES, false, 'd'); |
|
40 | + $themes = get_files_list(THEMES, false, 'd'); |
|
41 | 41 | asort($themes); |
42 | 42 | return static::get_formatting_normalize( |
43 | 43 | [ |