@@ -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] = [ |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | CRUD_helpers, |
| 24 | 24 | Singleton; |
| 25 | 25 | |
| 26 | - protected $data_model = [ |
|
| 26 | + protected $data_model = [ |
|
| 27 | 27 | 'id' => 'int:0', |
| 28 | 28 | 'parent' => 'int:0', |
| 29 | 29 | 'title' => 'ml:text', |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | LIMIT 1", |
| 196 | 196 | $section['parent'] |
| 197 | 197 | ) ?: $section['parent']; |
| 198 | - $update = $this->db_prime()->q( |
|
| 198 | + $update = $this->db_prime()->q( |
|
| 199 | 199 | [ |
| 200 | 200 | "UPDATE `[prefix]blogs_sections` |
| 201 | 201 | SET `parent` = '%2\$d' |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | use |
| 26 | 26 | CRUD, |
| 27 | 27 | Singleton; |
| 28 | - protected $data_model = [ |
|
| 28 | + protected $data_model = [ |
|
| 29 | 29 | 'id' => 'int:0', |
| 30 | 30 | 'user' => 'int:0', |
| 31 | 31 | 'date' => 'int:0', |
@@ -13,12 +13,12 @@ |
||
| 13 | 13 | cs\plugins\Tags\Tags as Tags_trait, |
| 14 | 14 | cs\Singleton; |
| 15 | 15 | /** |
| 16 | - * Tags trait |
|
| 17 | - * |
|
| 18 | - * Provides methods for working with tags for faster development |
|
| 19 | - * |
|
| 20 | - * @method static $this instance($check = false) |
|
| 21 | - */ |
|
| 16 | + * Tags trait |
|
| 17 | + * |
|
| 18 | + * Provides methods for working with tags for faster development |
|
| 19 | + * |
|
| 20 | + * @method static $this instance($check = false) |
|
| 21 | + */ |
|
| 22 | 22 | class Tags { |
| 23 | 23 | use |
| 24 | 24 | Tags_trait, |
@@ -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 { |
@@ -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 { |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | ob_wrapper('phpinfo'), |
| 88 | 88 | $version |
| 89 | 89 | ); |
| 90 | - $return = "Apache $version[1]"; |
|
| 90 | + $return = "apache $version[1]"; |
|
| 91 | 91 | if (stripos($phpinfo, 'mod_php') !== false) { |
| 92 | 92 | $return .= ' + mod_php + PHP '.PHP_VERSION; |
| 93 | 93 | } |
@@ -217,7 +217,7 @@ |
||
| 217 | 217 | * |
| 218 | 218 | * @return array|false |
| 219 | 219 | */ |
| 220 | - protected static function &get_block_by_index ($index) { |
|
| 220 | + protected static function &get_block_by_index($index) { |
|
| 221 | 221 | foreach (Config::instance()->components['blocks'] as &$block) { |
| 222 | 222 | if ($block['index'] == $index) { |
| 223 | 223 | return $block; |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | 'value', |
| 112 | 112 | 'id' |
| 113 | 113 | ); |
| 114 | - $data['users'] = array_column( |
|
| 114 | + $data['users'] = array_column( |
|
| 115 | 115 | $User->db()->qfa( |
| 116 | 116 | [ |
| 117 | 117 | "SELECT |