Completed
Push — master ( 776132...4b8bb5 )
by Alexey
13:36
created
system/modules/View/View.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -178,15 +178,15 @@  discard block
 block discarded – undo
178 178
     public function cutTag($source, $rawTag) {
179 179
         $pos = strpos($source, $rawTag) - 1;
180 180
         echo substr($source, 0, $pos);
181
-        return substr($source, ( $pos + strlen($rawTag) + 2));
181
+        return substr($source, ($pos + strlen($rawTag) + 2));
182 182
     }
183 183
 
184 184
     public function getHref($type, $params) {
185 185
         $href = '';
186 186
         if (is_string($params)) {
187
-            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $params;
187
+            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $params;
188 188
         } elseif (empty($params['template']) && !empty($params['file'])) {
189
-            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $params['file'];
189
+            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $params['file'];
190 190
         } elseif (!empty($params['template']) && !empty($params['file'])) {
191 191
             $href = $this->app->templatesPath . "/{$this->template->name}/{$type}/{$params['file']}";
192 192
         }
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
                     if (strpos($css, '//') !== false) {
341 341
                                             $href = $css;
342 342
                     } else {
343
-                                            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '' ) . $css;
343
+                                            $href = ($this->app->type != 'app' ? '/' . $this->app->name : '') . $css;
344 344
                     }
345 345
                     $hrefs[$href] = $href;
346 346
                 }
Please login to merge, or discard this patch.
system/modules/Db/objects/Mysql/Mysql.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 
14 14
 class Mysql extends \Object {
15 15
 
16
-    public $config = [];       // настройки подключения выбраной базы
17
-    public $connect = false;        // ярлык соединения с MySQL
18
-    public $encoding = 'utf-8';        // установленная кодировка
19
-    public $db_name = 'test';         // выбраная в данный момент база
20
-    public $table_prefix = 'inji_';   // префикс названий таблиц
16
+    public $config = []; // настройки подключения выбраной базы
17
+    public $connect = false; // ярлык соединения с MySQL
18
+    public $encoding = 'utf-8'; // установленная кодировка
19
+    public $db_name = 'test'; // выбраная в данный момент база
20
+    public $table_prefix = 'inji_'; // префикс названий таблиц
21 21
     public $pdo = null;
22 22
     public $lastQuery = '';
23 23
     public $last_error = '';
Please login to merge, or discard this patch.