@@ -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', |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | ] |
| 107 | 107 | ); |
| 108 | 108 | } |
| 109 | - $sections = $this->db()->qfa( |
|
| 109 | + $sections = $this->db()->qfa( |
|
| 110 | 110 | [ |
| 111 | 111 | "SELECT |
| 112 | 112 | `id`, |
@@ -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 | ); |
@@ -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] = [ |