@@ -262,7 +262,7 @@ |
||
262 | 262 | "$this->root/license.txt", |
263 | 263 | "$this->root/Storage.php" |
264 | 264 | ]; |
265 | - $files = []; |
|
265 | + $files = []; |
|
266 | 266 | foreach ($files_to_include as $s) { |
267 | 267 | if (is_file($s)) { |
268 | 268 | $files[] = $s; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | use |
23 | 23 | Singleton; |
24 | 24 | |
25 | - protected $data_model = [ |
|
25 | + protected $data_model = [ |
|
26 | 26 | 'id' => 'int', |
27 | 27 | 'amount' => 'float:0', |
28 | 28 | 'currency' => 'text', |
@@ -19,7 +19,7 @@ |
||
19 | 19 | Event::instance()->on( |
20 | 20 | 'Comments/instance', |
21 | 21 | function ($data) { |
22 | - $data['Comments'] = Comments::instance(); |
|
22 | + $data['Comments'] = Comments::instance(); |
|
23 | 23 | return false; |
24 | 24 | } |
25 | 25 | ); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $verbosity => true |
121 | 121 | ] |
122 | 122 | ); |
123 | - $output = new Output; |
|
123 | + $output = new Output; |
|
124 | 124 | $output->set_stream(fopen("$storage/last_execution.log", 'w')); |
125 | 125 | $application->setAutoExit(false); |
126 | 126 | $status_code = $application->run($input, $output); |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | 'repositories' => [], |
192 | 192 | 'require' => [] |
193 | 193 | ]; |
194 | - $Config = Config::instance(); |
|
194 | + $Config = Config::instance(); |
|
195 | 195 | foreach (array_keys($Config->components['modules']) as $module) { |
196 | 196 | if ( |
197 | 197 | $module == $component_name && |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | if (!$package['require']) { |
267 | 267 | return; |
268 | 268 | } |
269 | - $composer['repositories'][] = [ |
|
269 | + $composer['repositories'][] = [ |
|
270 | 270 | 'type' => 'package', |
271 | 271 | 'package' => $package |
272 | 272 | ]; |
@@ -31,7 +31,7 @@ |
||
31 | 31 | 'content' => null, //Is set in constructor |
32 | 32 | 'type' => 'set:text,html' |
33 | 33 | ]; |
34 | - protected $table = '[prefix]content'; |
|
34 | + protected $table = '[prefix]content'; |
|
35 | 35 | /** |
36 | 36 | * @var Prefix |
37 | 37 | */ |
@@ -31,7 +31,7 @@ |
||
31 | 31 | 'module' => 'text', |
32 | 32 | 'data' => null //Is set in constructor |
33 | 33 | ]; |
34 | - protected $table = '[prefix]deferred_tasks_tasks'; |
|
34 | + protected $table = '[prefix]deferred_tasks_tasks'; |
|
35 | 35 | /** |
36 | 36 | * @var int |
37 | 37 | */ |
@@ -19,7 +19,7 @@ |
||
19 | 19 | Event::instance()->on( |
20 | 20 | 'Comments/instance', |
21 | 21 | function ($data) { |
22 | - $data['Comments'] = Disqus::instance(); |
|
22 | + $data['Comments'] = Disqus::instance(); |
|
23 | 23 | return false; |
24 | 24 | } |
25 | 25 | ); |
@@ -11,8 +11,8 @@ |
||
11 | 11 | /** |
12 | 12 | * Time of start of execution, is used as current time |
13 | 13 | */ |
14 | -define('MICROTIME', microtime(true)); //Time in seconds (float) |
|
15 | -define('TIME', floor(MICROTIME)); //Time in seconds (integer) |
|
14 | +define('MICROTIME', microtime(true)); //Time in seconds (float) |
|
15 | +define('TIME', floor(MICROTIME)); //Time in seconds (integer) |
|
16 | 16 | define('DIR', realpath(__DIR__.'/../../..')); //Root directory |
17 | 17 | chdir(DIR); |
18 | 18 | $async = false; |
@@ -29,7 +29,7 @@ |
||
29 | 29 | return strtolower($provider); |
30 | 30 | } |
31 | 31 | }; |
32 | - $providers = []; |
|
32 | + $providers = []; |
|
33 | 33 | foreach ($Config->module('HybridAuth')->providers as $provider => $provider_settings) { |
34 | 34 | if ($provider_settings['enabled']) { |
35 | 35 | $providers[$provider] = [ |