Completed
Push — master ( 55ac81...716a76 )
by Richard
17s
created
htdocs/class/database/manager.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@
 block discarded – undo
330 330
      * Checks to see if table exists
331 331
      *
332 332
      * @param string $table name of database table looking for
333
-      *
333
+     *
334 334
      * @return bool true if exists or false if doesnt
335 335
      */
336 336
     public function tableExists($table)
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     {
105 105
         $this->db->connect(false);
106 106
 
107
-        $result = $this->db->query("CREATE DATABASE " . \XoopsBaseConfig::get('db-name'));
107
+        $result = $this->db->query("CREATE DATABASE ".\XoopsBaseConfig::get('db-name'));
108 108
 
109 109
         return ($result != false) ? true : false;
110 110
     }
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
                             }
172 172
                         } else {
173 173
                             if ($prefixed_query[1] === 'DROP TABLE') {
174
-                                if ($this->db->$queryFunc('DROP TABLE ' . $table) != false) {
174
+                                if ($this->db->$queryFunc('DROP TABLE '.$table) != false) {
175 175
                                     if (!isset($this->s_tables['drop'][$table])) {
176 176
                                         $this->s_tables['drop'][$table] = 1;
177 177
                                     }
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
     {
276 276
         $this->db->connect();
277 277
         $table = $this->db->prefix($table);
278
-        $query = 'INSERT INTO ' . $table . ' ' . $query;
278
+        $query = 'INSERT INTO '.$table.' '.$query;
279 279
         if (!$this->db->queryF($query)) {
280 280
             if (!isset($this->f_tables['insert'][$table])) {
281 281
                 $this->f_tables['insert'][$table] = 1;
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
         $this->db->connect();
320 320
         foreach ($tables as $key => $val) {
321 321
             //was: if (!$this->db->query("DROP TABLE " . $this->db->prefix($key))) {
322
-            if (!$this->db->query("DROP TABLE " . $this->db->prefix($val))) {
322
+            if (!$this->db->query("DROP TABLE ".$this->db->prefix($val))) {
323 323
                 $deleted[] = $val;
324 324
             }
325 325
         }
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
         $ret = false;
340 340
         if ($table != '') {
341 341
             $this->db->connect();
342
-            $sql = 'SELECT COUNT(*) FROM ' . $this->db->prefix($table);
342
+            $sql = 'SELECT COUNT(*) FROM '.$this->db->prefix($table);
343 343
             $ret = (false != $this->db->query($sql)) ? true : false;
344 344
         }
345 345
         return $ret;
@@ -362,22 +362,22 @@  discard block
 block discarded – undo
362 362
         $nTableName,
363 363
         $dropTable = false
364 364
     ) {
365
-        $sql = "SHOW COLUMNS FROM " . $this->db->prefix($oTableName);
365
+        $sql = "SHOW COLUMNS FROM ".$this->db->prefix($oTableName);
366 366
         $result = $this->db->queryF($sql);
367 367
         if (($rows = $this->db->getRowsNum($result)) == count($fieldsMap)) {
368
-            $sql = "SELECT * FROM " . $this->db->prefix($oTableName);
368
+            $sql = "SELECT * FROM ".$this->db->prefix($oTableName);
369 369
             $result = $this->db->queryF($sql);
370 370
             while (false !== ($myrow = $this->db->fetchArray($result))) {
371 371
                 ksort($fieldsMap);
372 372
                 ksort($myrow);
373
-                $sql = "INSERT INTO `" . $this->db->prefix($nTableName)
374
-                    . "` " . "(`" . implode("`,`", $fieldsMap) . "`)" .
375
-                    " VALUES ('" . implode("','", $myrow) . "')";
373
+                $sql = "INSERT INTO `".$this->db->prefix($nTableName)
374
+                    . "` "."(`".implode("`,`", $fieldsMap)."`)".
375
+                    " VALUES ('".implode("','", $myrow)."')";
376 376
 
377 377
                 $this->db->queryF($sql);
378 378
             }
379 379
             if ($dropTable) {
380
-                $sql = "DROP TABLE " . $this->db->prefix($oTableName);
380
+                $sql = "DROP TABLE ".$this->db->prefix($oTableName);
381 381
                 $this->db->queryF($sql);
382 382
             }
383 383
         }
Please login to merge, or discard this patch.
htdocs/class/database/mysqldatabase.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             $frame = $stack[1];
71 71
             Xoops::getInstance()->deprecated(
72 72
                 'Legacy XoopsDB is deprecated since 2.6.0; all calls should be using Doctrine through $xoops->db(). '
73
-                . 'Called from ' . $frame['function'] . '() in ' . $frame['file'] . ' line '. $frame['line']
73
+                . 'Called from '.$frame['function'].'() in '.$frame['file'].' line '.$frame['line']
74 74
             );
75 75
         }
76 76
     }
@@ -342,14 +342,14 @@  discard block
 block discarded – undo
342 342
             if (empty($start)) {
343 343
                 $start = 0;
344 344
             }
345
-            $sql = $sql . ' LIMIT ' . (int) $start . ', ' . (int) $limit;
345
+            $sql = $sql.' LIMIT '.(int)$start.', '.(int)$limit;
346 346
         }
347 347
         $events = \Xoops::getInstance()->events();
348 348
         $events->triggerEvent('core.database.query.start');
349 349
         try {
350 350
             $result = $this->conn->query($sql);
351 351
         } catch (Exception $e) {
352
-            $result=false;
352
+            $result = false;
353 353
         }
354 354
         $this->lastResult = $result;
355 355
         $events->triggerEvent('core.database.query.end');
@@ -451,19 +451,19 @@  discard block
 block discarded – undo
451 451
             $t = $temp['native_type'];
452 452
 
453 453
             $temp = (string)(
454
-                ((($t === 'STRING') || ($t === 'VAR_STRING') ) ? 'string' : '' ) .
455
-                ( (in_array($t, array('TINY', 'SHORT', 'LONG', 'LONGLONG', 'INT24'))) ? 'int' : '' ) .
456
-                ( (in_array($t, array('FLOAT', 'DOUBLE', 'DECIMAL', 'NEWDECIMAL'))) ? 'real' : '' ) .
457
-                ( ($t === 'TIMESTAMP') ? 'timestamp' : '' ) .
458
-                ( ($t === 'YEAR') ? 'year' : '') .
459
-                ( (($t === 'DATE') || ($t === 'NEWDATE') ) ? 'date' : '' ) .
460
-                ( ($t === 'TIME') ? 'time' : '' ) .
461
-                ( ($t === 'SET') ? 'set' : '' ) .
462
-                ( ($t === 'ENUM') ? 'enum' : '' ) .
463
-                ( ($t === 'GEOMETRY') ? 'geometry' : '' ) .
464
-                ( ($t === 'DATETIME') ? 'datetime' : '' ) .
465
-                ( (in_array($t, array('TINY_BLOB', 'BLOB', 'MEDIUM_BLOB', 'LONG_BLOB' ))) ? 'blob' : '' ) .
466
-                ( ($t === 'NULL') ? 'null' : '' )
454
+                ((($t === 'STRING') || ($t === 'VAR_STRING')) ? 'string' : '').
455
+                ((in_array($t, array('TINY', 'SHORT', 'LONG', 'LONGLONG', 'INT24'))) ? 'int' : '').
456
+                ((in_array($t, array('FLOAT', 'DOUBLE', 'DECIMAL', 'NEWDECIMAL'))) ? 'real' : '').
457
+                (($t === 'TIMESTAMP') ? 'timestamp' : '').
458
+                (($t === 'YEAR') ? 'year' : '').
459
+                ((($t === 'DATE') || ($t === 'NEWDATE')) ? 'date' : '').
460
+                (($t === 'TIME') ? 'time' : '').
461
+                (($t === 'SET') ? 'set' : '').
462
+                (($t === 'ENUM') ? 'enum' : '').
463
+                (($t === 'GEOMETRY') ? 'geometry' : '').
464
+                (($t === 'DATETIME') ? 'datetime' : '').
465
+                ((in_array($t, array('TINY_BLOB', 'BLOB', 'MEDIUM_BLOB', 'LONG_BLOB'))) ? 'blob' : '').
466
+                (($t === 'NULL') ? 'null' : '')
467 467
             );
468 468
             return $temp;
469 469
         } catch (PDOException $e) {
Please login to merge, or discard this patch.
htdocs/class/database/databasefactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         static $legacy;
48 48
 
49
-        $file = \XoopsBaseConfig::get('root-path') . '/class/database/mysqldatabase.php';
49
+        $file = \XoopsBaseConfig::get('root-path').'/class/database/mysqldatabase.php';
50 50
         if (!isset($legacy) && file_exists($file)) {
51 51
             require_once $file;
52 52
             if (!defined('XOOPS_DB_PROXY')) {
Please login to merge, or discard this patch.
htdocs/class/database/sqlutility.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -92,14 +92,14 @@  discard block
 block discarded – undo
92 92
                         $in_string = true;
93 93
                         $string_start = $char;
94 94
                     } else {
95
-                        if ($char === '#' || ($char === ' ' && $i > 1 && $sql[$i - 2] . $sql[$i - 1] == '--')) {
95
+                        if ($char === '#' || ($char === ' ' && $i > 1 && $sql[$i - 2].$sql[$i - 1] == '--')) {
96 96
                             $start_of_comment = (($sql[$i] === '#') ? $i : $i - 2);
97
-                            $end_of_comment = (strpos(' ' . $sql, "\012", $i + 2)) ? strpos(' ' . $sql, "\012", $i + 2)
98
-                                : strpos(' ' . $sql, "\015", $i + 2);
97
+                            $end_of_comment = (strpos(' '.$sql, "\012", $i + 2)) ? strpos(' '.$sql, "\012", $i + 2)
98
+                                : strpos(' '.$sql, "\015", $i + 2);
99 99
                             if (!$end_of_comment) {
100 100
                                 return true;
101 101
                             } else {
102
-                                $sql = substr($sql, 0, $start_of_comment) . ltrim(substr($sql, $end_of_comment));
102
+                                $sql = substr($sql, 0, $start_of_comment).ltrim(substr($sql, $end_of_comment));
103 103
                                 $sql_len = strlen($sql);
104 104
                                 $i--;
105 105
                             }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         if (preg_match($pattern, $query, $matches)
131 131
             || preg_match($pattern2, $query, $matches)
132 132
         ) {
133
-            $replace = "\\1 " . $prefix . "_\\4\\5";
133
+            $replace = "\\1 ".$prefix."_\\4\\5";
134 134
             $matches[0] = preg_replace($pattern, $replace, $query);
135 135
             return $matches;
136 136
         }
Please login to merge, or discard this patch.
htdocs/class/utility/xoopsutility.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         if (is_array($data)) {
36 36
             $return = array_map(array('XoopsUtility', 'recursive'),
37
-				array_fill(0, count($data), $handler), $data);
37
+                array_fill(0, count($data), $handler), $data);
38 38
             return $return;
39 39
         }
40 40
         // single function
Please login to merge, or discard this patch.
htdocs/class/xoopsload.php 1 patch
Spacing   +148 added lines, -148 removed lines patch added patch discarded remove patch
@@ -117,15 +117,15 @@  discard block
 block discarded – undo
117 117
             }
118 118
 
119 119
             return true;
120
-        } elseif (self::fileExists($file = \XoopsBaseConfig::get('root-path') . '/class/' . $name . '.php')) {
120
+        } elseif (self::fileExists($file = \XoopsBaseConfig::get('root-path').'/class/'.$name.'.php')) {
121 121
             //attempt loading from file
122 122
             include_once $file;
123
-            $class = 'Xoops' . ucfirst($name);
123
+            $class = 'Xoops'.ucfirst($name);
124 124
             if (class_exists($class)) {
125 125
                 return $class;
126 126
             } else {
127 127
                 trigger_error(
128
-                    'Class ' . $name . ' not found in file ' . __FILE__ . 'at line ' . __LINE__,
128
+                    'Class '.$name.' not found in file '.__FILE__.'at line '.__LINE__,
129 129
                     E_USER_WARNING
130 130
                 );
131 131
             }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private static function loadFramework($name)
145 145
     {
146
-        if (!self::fileExists($file = \XoopsBaseConfig::get('root-path') . '/Frameworks/' . $name . '/xoops' . $name . '.php')) {
146
+        if (!self::fileExists($file = \XoopsBaseConfig::get('root-path').'/Frameworks/'.$name.'/xoops'.$name.'.php')) {
147 147
             /*
148 148
             trigger_error(
149 149
                 'File ' . str_replace(\XoopsBaseConfig::get('root-path'), '', $file)
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
             return false;
155 155
         }
156 156
         include_once $file;
157
-        $class = 'Xoops' . ucfirst($name);
157
+        $class = 'Xoops'.ucfirst($name);
158 158
         if (class_exists($class, false)) {
159 159
             return $class;
160 160
         }
@@ -175,9 +175,9 @@  discard block
 block discarded – undo
175 175
         if (empty($dirname)) {
176 176
             return false;
177 177
         }
178
-        if (self::fileExists($file = \XoopsBaseConfig::get('root-path') . '/modules/' . $dirname . '/class/' . $name . '.php')) {
178
+        if (self::fileExists($file = \XoopsBaseConfig::get('root-path').'/modules/'.$dirname.'/class/'.$name.'.php')) {
179 179
             include_once $file;
180
-            if (class_exists(ucfirst($dirname) . ucfirst($name))) {
180
+            if (class_exists(ucfirst($dirname).ucfirst($name))) {
181 181
                 return true;
182 182
             }
183 183
         }
@@ -195,50 +195,50 @@  discard block
 block discarded – undo
195 195
     {
196 196
         $xoops_root_path = \XoopsBaseConfig::get('root-path');
197 197
         return array(
198
-            'bloggerapi' => $xoops_root_path . '/class/xml/rpc/bloggerapi.php',
199
-            'criteria' => $xoops_root_path . '/class/criteria.php',
200
-            'criteriacompo' => $xoops_root_path . '/class/criteria.php',
201
-            'criteriaelement' => $xoops_root_path . '/class/criteria.php',
202
-            'formdhtmltextarea' => $xoops_root_path . '/class/xoopseditor/dhtmltextarea/dhtmltextarea.php',
203
-            'formtextarea' => $xoops_root_path . '/class/xoopseditor/textarea/textarea.php',
204
-            'htmlawed' => $xoops_root_path . '/class/vendor/htmLawed.php',
205
-            'metaweblogapi' => $xoops_root_path . '/class/xml/rpc/metaweblogapi.php',
206
-            'movabletypeapi' => $xoops_root_path . '/class/xml/rpc/movabletypeapi.php',
207
-            'mytextsanitizer' => $xoops_root_path . '/class/module.textsanitizer.php',
198
+            'bloggerapi' => $xoops_root_path.'/class/xml/rpc/bloggerapi.php',
199
+            'criteria' => $xoops_root_path.'/class/criteria.php',
200
+            'criteriacompo' => $xoops_root_path.'/class/criteria.php',
201
+            'criteriaelement' => $xoops_root_path.'/class/criteria.php',
202
+            'formdhtmltextarea' => $xoops_root_path.'/class/xoopseditor/dhtmltextarea/dhtmltextarea.php',
203
+            'formtextarea' => $xoops_root_path.'/class/xoopseditor/textarea/textarea.php',
204
+            'htmlawed' => $xoops_root_path.'/class/vendor/htmLawed.php',
205
+            'metaweblogapi' => $xoops_root_path.'/class/xml/rpc/metaweblogapi.php',
206
+            'movabletypeapi' => $xoops_root_path.'/class/xml/rpc/movabletypeapi.php',
207
+            'mytextsanitizer' => $xoops_root_path.'/class/module.textsanitizer.php',
208 208
             //'mytextsanitizerextension' => $xoops_root_path . '/class/module.textsanitizer.php',
209 209
             //'phpmailer' => $xoops_root_path . '/class/mail/phpmailer/class.phpmailer.php',
210
-            'rssauthorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
211
-            'rsscategoryhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
212
-            'rsscommentshandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
213
-            'rsscopyrighthandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
214
-            'rssdescriptionhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
215
-            'rssdocshandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
216
-            'rssgeneratorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
217
-            'rssguidhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
218
-            'rssheighthandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
219
-            'rssimagehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
220
-            'rssitemhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
221
-            'rsslanguagehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
222
-            'rsslastbuilddatehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
223
-            'rsslinkhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
224
-            'rssmanagingeditorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
225
-            'rssnamehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
226
-            'rsspubdatehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
227
-            'rsssourcehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
228
-            'rsstextinputhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
229
-            'rsstitlehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
230
-            'rssttlhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
231
-            'rssurlhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
232
-            'rsswebmasterhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
233
-            'rsswidthhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
234
-            'saxparser' => $xoops_root_path . '/class/xml/saxparser.php',
210
+            'rssauthorhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
211
+            'rsscategoryhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
212
+            'rsscommentshandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
213
+            'rsscopyrighthandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
214
+            'rssdescriptionhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
215
+            'rssdocshandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
216
+            'rssgeneratorhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
217
+            'rssguidhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
218
+            'rssheighthandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
219
+            'rssimagehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
220
+            'rssitemhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
221
+            'rsslanguagehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
222
+            'rsslastbuilddatehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
223
+            'rsslinkhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
224
+            'rssmanagingeditorhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
225
+            'rssnamehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
226
+            'rsspubdatehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
227
+            'rsssourcehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
228
+            'rsstextinputhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
229
+            'rsstitlehandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
230
+            'rssttlhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
231
+            'rssurlhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
232
+            'rsswebmasterhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
233
+            'rsswidthhandler' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
234
+            'saxparser' => $xoops_root_path.'/class/xml/saxparser.php',
235 235
             //'smarty' => $xoops_root_path . '/smarty/Smarty.class.php',
236
-            'snoopy' => $xoops_root_path . '/class/vendor/snoopy.php',
237
-            'sqlutility' => $xoops_root_path . '/class/database/sqlutility.php',
238
-            'tar' => $xoops_root_path . '/class/class.tar.php',
239
-            'xmltaghandler' => $xoops_root_path . '/class/xml/xmltaghandler.php',
240
-            'xoopsadminthemefactory' => $xoops_root_path . '/class/theme.php',
241
-            'xoopsapi' => $xoops_root_path . '/class/xml/rpc/xoopsapi.php',
236
+            'snoopy' => $xoops_root_path.'/class/vendor/snoopy.php',
237
+            'sqlutility' => $xoops_root_path.'/class/database/sqlutility.php',
238
+            'tar' => $xoops_root_path.'/class/class.tar.php',
239
+            'xmltaghandler' => $xoops_root_path.'/class/xml/xmltaghandler.php',
240
+            'xoopsadminthemefactory' => $xoops_root_path.'/class/theme.php',
241
+            'xoopsapi' => $xoops_root_path.'/class/xml/rpc/xoopsapi.php',
242 242
             //'xoopsauth' => $xoops_root_path . '/class/auth/auth.php',
243 243
             //'xoopsauthfactory' => $xoops_root_path . '/class/auth/authfactory.php',
244 244
             //'xoopsauthads' => $xoops_root_path . '/class/auth/auth_ads.php',
@@ -255,12 +255,12 @@  discard block
 block discarded – undo
255 255
             //'xoopsblockmodulelink' => $xoops_root_path . '/kernel/blockmodulelink.php',
256 256
             //'xoopsblockmodulelinkhandler' => $xoops_root_path . '/kernel/blockmodulelink.php',
257 257
             //'xoopscalendar' => $xoops_root_path . '/class/calendar/xoopscalendar.php',
258
-            'xoopscaptcha' => $xoops_root_path . '/class/captcha/xoopscaptcha.php',
259
-            'xoopscaptchamethod' => $xoops_root_path . '/class/captcha/xoopscaptchamethod.php',
260
-            'xoopscaptchaimage' => $xoops_root_path . '/class/captcha/image.php',
261
-            'xoopscaptcharecaptcha' => $xoops_root_path . '/class/captcha/recaptcha.php',
262
-            'xoopscaptchatext' => $xoops_root_path . '/class/captcha/text.php',
263
-            'xoopscaptchaimagehandler' => $xoops_root_path . '/class/captcha/image/scripts/imageclass.php',
258
+            'xoopscaptcha' => $xoops_root_path.'/class/captcha/xoopscaptcha.php',
259
+            'xoopscaptchamethod' => $xoops_root_path.'/class/captcha/xoopscaptchamethod.php',
260
+            'xoopscaptchaimage' => $xoops_root_path.'/class/captcha/image.php',
261
+            'xoopscaptcharecaptcha' => $xoops_root_path.'/class/captcha/recaptcha.php',
262
+            'xoopscaptchatext' => $xoops_root_path.'/class/captcha/text.php',
263
+            'xoopscaptchaimagehandler' => $xoops_root_path.'/class/captcha/image/scripts/imageclass.php',
264 264
             //'xoopscomment' => $xoops_root_path . '/kernel/comment.php',
265 265
             //'xoopscommenthandler' => $xoops_root_path . '/kernel/comment.php',
266 266
             //'xoopscommentrenderer' => $xoops_root_path . '/class/commentrenderer.php',
@@ -271,15 +271,15 @@  discard block
 block discarded – undo
271 271
             //'xoopsconfigitemhandler' => $xoops_root_path . '/kernel/configitem.php',
272 272
             //'xoopsconfigoption' => $xoops_root_path . '/kernel/configoption.php',
273 273
             //'xoopsconfigoptionhandler' => $xoops_root_path . '/kernel/configoption.php',
274
-            'xoopsdatabase' => $xoops_root_path . '/class/database/database.php',
274
+            'xoopsdatabase' => $xoops_root_path.'/class/database/database.php',
275 275
             //'xoopsconnection' => $xoops_root_path . '/class/database/connection.php',
276 276
             //'xoopsquerybuilder' => $xoops_root_path . '/class/database/querybuilder.php',
277
-            'xoopsdatabasefactory' => $xoops_root_path . '/class/database/databasefactory.php',
278
-            'xoopsdatabasemanager' => $xoops_root_path . '/class/database/manager.php',
279
-            'xoopsdownloader' => $xoops_root_path . '/class/downloader.php',
280
-            'xoopsmysqldatabase' => $xoops_root_path . '/class/database/mysqldatabase.php',
281
-            'xoopsmysqldatabaseproxy' => $xoops_root_path . '/class/database/mysqldatabaseproxy.php',
282
-            'xoopsmysqldatabasesafe' => $xoops_root_path . '/class/database/mysqldatabasesafe.php',
277
+            'xoopsdatabasefactory' => $xoops_root_path.'/class/database/databasefactory.php',
278
+            'xoopsdatabasemanager' => $xoops_root_path.'/class/database/manager.php',
279
+            'xoopsdownloader' => $xoops_root_path.'/class/downloader.php',
280
+            'xoopsmysqldatabase' => $xoops_root_path.'/class/database/mysqldatabase.php',
281
+            'xoopsmysqldatabaseproxy' => $xoops_root_path.'/class/database/mysqldatabaseproxy.php',
282
+            'xoopsmysqldatabasesafe' => $xoops_root_path.'/class/database/mysqldatabasesafe.php',
283 283
             //'xoopsgroup' => $xoops_root_path . '/kernel/group.php',
284 284
             //'xoopsgrouphandler' => $xoops_root_path . '/kernel/group.php',
285 285
             //'xoopsgroupperm' => $xoops_root_path . '/kernel/groupperm.php',
@@ -292,61 +292,61 @@  discard block
 block discarded – undo
292 292
             //'xoopsimagesethandler' => $xoops_root_path . '/kernel/imageset.php',
293 293
             //'xoopsimagesetimg' => $xoops_root_path . '/kernel/imagesetimg.php',
294 294
             //'xoopsimagesetimghandler' => $xoops_root_path . '/kernel/imagesetimg.php',
295
-            'xoopslists' => $xoops_root_path . '/class/xoopslists.php',
295
+            'xoopslists' => $xoops_root_path.'/class/xoopslists.php',
296 296
             //'xoopslocal' => $xoops_root_path . '/include/xoopslocal.php',
297
-            'xoopslocalabstract' => $xoops_root_path . '/class/xoopslocal.php',
298
-            'xoopslogger' => $xoops_root_path . '/class/logger/xoopslogger.php',
299
-            'xoopseditor' => $xoops_root_path . '/class/xoopseditor/xoopseditor.php',
300
-            'xoopseditorhandler' => $xoops_root_path . '/class/xoopseditor/xoopseditor.php',
301
-            'xoopsfile' => $xoops_root_path . '/class/file/xoopsfile.php',
302
-            'xoopsfilehandler' => $xoops_root_path . '/class/file/file.php',
303
-            'xoopsfilterinput' => $xoops_root_path . '/class/xoopsfilterinput.php',
304
-            'xoopsfolderhandler' => $xoops_root_path . '/class/file/folder.php',
305
-            'xoopsform' => $xoops_root_path . '/class/xoopsform/form.php',
306
-            'xoopsformbutton' => $xoops_root_path . '/class/xoopsform/formbutton.php',
307
-            'xoopsformbuttontray' => $xoops_root_path . '/class/xoopsform/formbuttontray.php',
297
+            'xoopslocalabstract' => $xoops_root_path.'/class/xoopslocal.php',
298
+            'xoopslogger' => $xoops_root_path.'/class/logger/xoopslogger.php',
299
+            'xoopseditor' => $xoops_root_path.'/class/xoopseditor/xoopseditor.php',
300
+            'xoopseditorhandler' => $xoops_root_path.'/class/xoopseditor/xoopseditor.php',
301
+            'xoopsfile' => $xoops_root_path.'/class/file/xoopsfile.php',
302
+            'xoopsfilehandler' => $xoops_root_path.'/class/file/file.php',
303
+            'xoopsfilterinput' => $xoops_root_path.'/class/xoopsfilterinput.php',
304
+            'xoopsfolderhandler' => $xoops_root_path.'/class/file/folder.php',
305
+            'xoopsform' => $xoops_root_path.'/class/xoopsform/form.php',
306
+            'xoopsformbutton' => $xoops_root_path.'/class/xoopsform/formbutton.php',
307
+            'xoopsformbuttontray' => $xoops_root_path.'/class/xoopsform/formbuttontray.php',
308 308
             //'xoopsformcalendar' => $xoops_root_path . '/class/xoopsform/formcalendar.php',
309
-            'xoopsformcaptcha' => $xoops_root_path . '/class/xoopsform/formcaptcha.php',
310
-            'xoopsformcheckbox' => $xoops_root_path . '/class/xoopsform/formcheckbox.php',
311
-            'xoopsformcolorpicker' => $xoops_root_path . '/class/xoopsform/formcolorpicker.php',
309
+            'xoopsformcaptcha' => $xoops_root_path.'/class/xoopsform/formcaptcha.php',
310
+            'xoopsformcheckbox' => $xoops_root_path.'/class/xoopsform/formcheckbox.php',
311
+            'xoopsformcolorpicker' => $xoops_root_path.'/class/xoopsform/formcolorpicker.php',
312 312
             //'xoopsformcontainer' => $xoops_root_path . '/class/xoopsform/formcontainer.php',
313
-            'xoopsformdatetime' => $xoops_root_path . '/class/xoopsform/formdatetime.php',
314
-            'xoopsformdhtmltextarea' => $xoops_root_path . '/class/xoopsform/formdhtmltextarea.php',
315
-            'xoopsformeditor' => $xoops_root_path . '/class/xoopsform/formeditor.php',
316
-            'xoopsformelement' => $xoops_root_path . '/class/xoopsform/formelement.php',
317
-            'xoopsformelementtray' => $xoops_root_path . '/class/xoopsform/formelementtray.php',
318
-            'xoopsformfile' => $xoops_root_path . '/class/xoopsform/formfile.php',
319
-            'xoopsformhidden' => $xoops_root_path . '/class/xoopsform/formhidden.php',
320
-            'xoopsformhiddentoken' => $xoops_root_path . '/class/xoopsform/formhiddentoken.php',
321
-            'xoopsformlabel' => $xoops_root_path . '/class/xoopsform/formlabel.php',
322
-            'xoopsformloader' => $xoops_root_path . '/class/xoopsformloader.php',
323
-            'xoopsformpassword' => $xoops_root_path . '/class/xoopsform/formpassword.php',
324
-            'xoopsformradio' => $xoops_root_path . '/class/xoopsform/formradio.php',
325
-            'xoopsformradioyn' => $xoops_root_path . '/class/xoopsform/formradioyn.php',
313
+            'xoopsformdatetime' => $xoops_root_path.'/class/xoopsform/formdatetime.php',
314
+            'xoopsformdhtmltextarea' => $xoops_root_path.'/class/xoopsform/formdhtmltextarea.php',
315
+            'xoopsformeditor' => $xoops_root_path.'/class/xoopsform/formeditor.php',
316
+            'xoopsformelement' => $xoops_root_path.'/class/xoopsform/formelement.php',
317
+            'xoopsformelementtray' => $xoops_root_path.'/class/xoopsform/formelementtray.php',
318
+            'xoopsformfile' => $xoops_root_path.'/class/xoopsform/formfile.php',
319
+            'xoopsformhidden' => $xoops_root_path.'/class/xoopsform/formhidden.php',
320
+            'xoopsformhiddentoken' => $xoops_root_path.'/class/xoopsform/formhiddentoken.php',
321
+            'xoopsformlabel' => $xoops_root_path.'/class/xoopsform/formlabel.php',
322
+            'xoopsformloader' => $xoops_root_path.'/class/xoopsformloader.php',
323
+            'xoopsformpassword' => $xoops_root_path.'/class/xoopsform/formpassword.php',
324
+            'xoopsformradio' => $xoops_root_path.'/class/xoopsform/formradio.php',
325
+            'xoopsformradioyn' => $xoops_root_path.'/class/xoopsform/formradioyn.php',
326 326
             //'xoopsformraw' => $xoops_root_path . '/class/xoopsform/formraw.php',
327
-            'xoopsformselect' => $xoops_root_path . '/class/xoopsform/formselect.php',
328
-            'xoopsformselectcheckgroup' => $xoops_root_path . '/class/xoopsform/formselectcheckgroup.php',
329
-            'xoopsformselectcountry' => $xoops_root_path . '/class/xoopsform/formselectcountry.php',
330
-            'xoopsformselecteditor' => $xoops_root_path . '/class/xoopsform/formselecteditor.php',
331
-            'xoopsformselectgroup' => $xoops_root_path . '/class/xoopsform/formselectgroup.php',
332
-            'xoopsformselectlang' => $xoops_root_path . '/class/xoopsform/formselectlang.php',
327
+            'xoopsformselect' => $xoops_root_path.'/class/xoopsform/formselect.php',
328
+            'xoopsformselectcheckgroup' => $xoops_root_path.'/class/xoopsform/formselectcheckgroup.php',
329
+            'xoopsformselectcountry' => $xoops_root_path.'/class/xoopsform/formselectcountry.php',
330
+            'xoopsformselecteditor' => $xoops_root_path.'/class/xoopsform/formselecteditor.php',
331
+            'xoopsformselectgroup' => $xoops_root_path.'/class/xoopsform/formselectgroup.php',
332
+            'xoopsformselectlang' => $xoops_root_path.'/class/xoopsform/formselectlang.php',
333 333
             //'xoopsformselectlocale' => $xoops_root_path . '/class/xoopsform/formselectlocale.php',
334
-            'xoopsformselectmatchoption' => $xoops_root_path . '/class/xoopsform/formselectmatchoption.php',
335
-            'xoopsformselecttheme' => $xoops_root_path . '/class/xoopsform/formselecttheme.php',
336
-            'xoopsformselecttimezone' => $xoops_root_path . '/class/xoopsform/formselecttimezone.php',
337
-            'xoopsformselectuser' => $xoops_root_path . '/class/xoopsform/formselectuser.php',
334
+            'xoopsformselectmatchoption' => $xoops_root_path.'/class/xoopsform/formselectmatchoption.php',
335
+            'xoopsformselecttheme' => $xoops_root_path.'/class/xoopsform/formselecttheme.php',
336
+            'xoopsformselecttimezone' => $xoops_root_path.'/class/xoopsform/formselecttimezone.php',
337
+            'xoopsformselectuser' => $xoops_root_path.'/class/xoopsform/formselectuser.php',
338 338
             //'xoopsformtab' => $xoops_root_path . '/class/xoopsform/formtab.php',
339 339
             //'xoopsformtabtray' => $xoops_root_path . '/class/xoopsform/formtabtray.php',
340
-            'xoopsformtext' => $xoops_root_path . '/class/xoopsform/formtext.php',
341
-            'xoopsformtextarea' => $xoops_root_path . '/class/xoopsform/formtextarea.php',
342
-            'xoopsformtextdateselect' => $xoops_root_path . '/class/xoopsform/formtextdateselect.php',
340
+            'xoopsformtext' => $xoops_root_path.'/class/xoopsform/formtext.php',
341
+            'xoopsformtextarea' => $xoops_root_path.'/class/xoopsform/formtextarea.php',
342
+            'xoopsformtextdateselect' => $xoops_root_path.'/class/xoopsform/formtextdateselect.php',
343 343
             //'xoopsformmail' => $xoops_root_path . '/class/xoopsform/formmail.php',
344 344
             //'xoopsformurl' => $xoops_root_path . '/class/xoopsform/formurl.php',
345
-            'xoopsgroupformcheckbox' => $xoops_root_path . '/class/xoopsform/grouppermform.php',
346
-            'xoopsgrouppermform' => $xoops_root_path . '/class/xoopsform/grouppermform.php',
345
+            'xoopsgroupformcheckbox' => $xoops_root_path.'/class/xoopsform/grouppermform.php',
346
+            'xoopsgrouppermform' => $xoops_root_path.'/class/xoopsform/grouppermform.php',
347 347
             //'xoopsguestuser' => $xoops_root_path . '/kernel/user.php',
348
-            'xoopsmailer' => $xoops_root_path . '/class/xoopsmailer.php',
349
-            'xoopsmediauploader' => $xoops_root_path . '/class/uploader.php',
348
+            'xoopsmailer' => $xoops_root_path.'/class/xoopsmailer.php',
349
+            'xoopsmediauploader' => $xoops_root_path.'/class/uploader.php',
350 350
             //'xoopsmemberhandler' => $xoops_root_path . '/kernel/member.php',
351 351
             //'xoopsmembership' => $xoops_root_path . '/kernel/membership.php',
352 352
             //'xoopsmembershiphandler' => $xoops_root_path . '/kernel/membership.php',
@@ -354,35 +354,35 @@  discard block
 block discarded – undo
354 354
             //'xoopsmoduleadmin' => $xoops_root_path . '/class/moduleadmin.php',
355 355
             //'xoopsmodule' => $xoops_root_path . '/kernel/module.php',
356 356
             //'xoopsmodulehandler' => $xoops_root_path . '/kernel/module.php',
357
-            'xoopsmultimailer' => $xoops_root_path . '/class/xoopsmultimailer.php',
357
+            'xoopsmultimailer' => $xoops_root_path.'/class/xoopsmultimailer.php',
358 358
             //'xoopsnotification' => $xoops_root_path . '/kernel/notification.php',
359 359
             //'xoopsnotificationhandler' => $xoops_root_path . '/kernel/notification.php',
360
-            'xoopsobject' => $xoops_root_path . '/kernel/object.php',
361
-            'xoopsobjecthandler' => $xoops_root_path . '/kernel/object.php',
362
-            'xoopsobjecttree' => $xoops_root_path . '/class/tree.php',
360
+            'xoopsobject' => $xoops_root_path.'/kernel/object.php',
361
+            'xoopsobjecthandler' => $xoops_root_path.'/kernel/object.php',
362
+            'xoopsobjecttree' => $xoops_root_path.'/class/tree.php',
363 363
             //'xoopsonline' => $xoops_root_path . '/kernel/online.php',
364 364
             //'xoopsonlinehandler' => $xoops_root_path . '/kernel/online.php',
365
-            'xoopspagenav' => $xoops_root_path . '/class/pagenav.php',
366
-            'xoopspersistableobjecthandler' => $xoops_root_path . '/kernel/object.php',
367
-            'xoopspreload' => $xoops_root_path . '/class/preload.php',
368
-            'xoopspreloaditem' => $xoops_root_path . '/class/preload.php',
365
+            'xoopspagenav' => $xoops_root_path.'/class/pagenav.php',
366
+            'xoopspersistableobjecthandler' => $xoops_root_path.'/kernel/object.php',
367
+            'xoopspreload' => $xoops_root_path.'/class/preload.php',
368
+            'xoopspreloaditem' => $xoops_root_path.'/class/preload.php',
369 369
             //'xoopsprivmessage' => $xoops_root_path . '/kernel/privmessage.php',
370 370
             //'xoopsprivmessagehandler' => $xoops_root_path . '/kernel/privmessage.php',
371 371
             //'xoopsranks' => $xoops_root_path . '/kernel/ranks.php',
372 372
             //'xoopsrankshandler' => $xoops_root_path . '/kernel/ranks.php',
373 373
             // 'xoopsregistry' => $xoops_root_path . '/class/registry.php',
374
-            'xoopsrequest' => $xoops_root_path . '/class/xoopsrequest.php',
374
+            'xoopsrequest' => $xoops_root_path.'/class/xoopsrequest.php',
375 375
             // 'xoopssecurity' => $xoops_root_path . '/class/xoopssecurity.php',
376 376
             // 'xoopssessionhandler' => $xoops_root_path . '/kernel/session.php',
377
-            'xoopssimpleform' => $xoops_root_path . '/class/xoopsform/simpleform.php',
378
-            'xoopstableform' => $xoops_root_path . '/class/xoopsform/tableform.php',
379
-            'xoopstardownloader' => $xoops_root_path . '/class/tardownloader.php',
380
-            'xoopstheme' => $xoops_root_path . '/class/theme.php',
381
-            'xoopsthemeblocksplugin' => $xoops_root_path . '/class/theme_blocks.php',
382
-            'xoopsthemefactory' => $xoops_root_path . '/class/theme.php',
383
-            'xoopsthemeform' => $xoops_root_path . '/class/xoopsform/themeform.php',
384
-            'xoopsthemeplugin' => $xoops_root_path . '/class/theme.php',
385
-            'xoopsthemesetparser' => $xoops_root_path . '/class/xml/themesetparser.php',
377
+            'xoopssimpleform' => $xoops_root_path.'/class/xoopsform/simpleform.php',
378
+            'xoopstableform' => $xoops_root_path.'/class/xoopsform/tableform.php',
379
+            'xoopstardownloader' => $xoops_root_path.'/class/tardownloader.php',
380
+            'xoopstheme' => $xoops_root_path.'/class/theme.php',
381
+            'xoopsthemeblocksplugin' => $xoops_root_path.'/class/theme_blocks.php',
382
+            'xoopsthemefactory' => $xoops_root_path.'/class/theme.php',
383
+            'xoopsthemeform' => $xoops_root_path.'/class/xoopsform/themeform.php',
384
+            'xoopsthemeplugin' => $xoops_root_path.'/class/theme.php',
385
+            'xoopsthemesetparser' => $xoops_root_path.'/class/xml/themesetparser.php',
386 386
             //'xoopstpl' => $xoops_root_path . '/class/template.php',
387 387
             //'xoopstplfile' => $xoops_root_path . '/kernel/tplfile.php',
388 388
             //'xoopstplfilehandler' => $xoops_root_path . '/kernel/tplfile.php',
@@ -390,26 +390,26 @@  discard block
 block discarded – undo
390 390
             //'xoopstplsethandler' => $xoops_root_path . '/kernel/tplset.php',
391 391
             //'xoopsuser' => $xoops_root_path . '/kernel/user.php',
392 392
             //'xoopsuserhandler' => $xoops_root_path . '/kernel/user.php',
393
-            'xoopsuserutility' => $xoops_root_path . '/class/userutility.php',
394
-            'xoopsutility' => $xoops_root_path . '/class/utility/xoopsutility.php',
395
-            'xoopsxmlrpcapi' => $xoops_root_path . '/class/xml/rpc/xmlrpcapi.php',
396
-            'xoopsxmlrpcarray' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
397
-            'xoopsxmlrpcbase64'=> $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
398
-            'xoopsxmlrpcboolean' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
399
-            'xoopsxmlrpcdatetime' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
400
-            'xoopsxmlrpcdocument' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
401
-            'xoopsxmlrpcdouble' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
402
-            'xoopsxmlrpcfault' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
403
-            'xoopsxmlrpcint' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
404
-            'xoopsxmlrpcparser' => $xoops_root_path . '/class/xml/rpc/xmlrpcparser.php',
405
-            'xoopsxmlrpcrequest' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
406
-            'xoopsxmlrpcresponse' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
407
-            'xoopsxmlrpcstring' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
408
-            'xoopsxmlrpcstruct' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
409
-            'xoopsxmlrpctag' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php',
410
-            'xoopsxmlrss2parser' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php',
411
-            'xoopszipdownloader' => $xoops_root_path . '/class/zipdownloader.php',
412
-            'zipfile' => $xoops_root_path . '/class/class.zipfile.php',
393
+            'xoopsuserutility' => $xoops_root_path.'/class/userutility.php',
394
+            'xoopsutility' => $xoops_root_path.'/class/utility/xoopsutility.php',
395
+            'xoopsxmlrpcapi' => $xoops_root_path.'/class/xml/rpc/xmlrpcapi.php',
396
+            'xoopsxmlrpcarray' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
397
+            'xoopsxmlrpcbase64'=> $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
398
+            'xoopsxmlrpcboolean' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
399
+            'xoopsxmlrpcdatetime' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
400
+            'xoopsxmlrpcdocument' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
401
+            'xoopsxmlrpcdouble' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
402
+            'xoopsxmlrpcfault' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
403
+            'xoopsxmlrpcint' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
404
+            'xoopsxmlrpcparser' => $xoops_root_path.'/class/xml/rpc/xmlrpcparser.php',
405
+            'xoopsxmlrpcrequest' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
406
+            'xoopsxmlrpcresponse' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
407
+            'xoopsxmlrpcstring' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
408
+            'xoopsxmlrpcstruct' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
409
+            'xoopsxmlrpctag' => $xoops_root_path.'/class/xml/rpc/xmlrpctag.php',
410
+            'xoopsxmlrss2parser' => $xoops_root_path.'/class/xml/rss/xmlrss2parser.php',
411
+            'xoopszipdownloader' => $xoops_root_path.'/class/zipdownloader.php',
412
+            'zipfile' => $xoops_root_path.'/class/class.zipfile.php',
413 413
         );
414 414
     }
415 415
 
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
             } else {
435 435
                 return false;
436 436
             }
437
-            if (self::fileExists($file = \XoopsBaseConfig::get('root-path') . '/modules/' . $dirname . '/include/autoload.php')) {
437
+            if (self::fileExists($file = \XoopsBaseConfig::get('root-path').'/modules/'.$dirname.'/include/autoload.php')) {
438 438
                 if (!$configs = include $file) {
439 439
                     return false;
440 440
                 }
@@ -481,8 +481,8 @@  discard block
 block discarded – undo
481 481
             return true;
482 482
         }
483 483
 
484
-        $file = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
485
-        if (!self::loadFile(\XoopsBaseConfig::get('lib-path') . DIRECTORY_SEPARATOR . $file)) {
484
+        $file = str_replace('_', DIRECTORY_SEPARATOR, $class).'.php';
485
+        if (!self::loadFile(\XoopsBaseConfig::get('lib-path').DIRECTORY_SEPARATOR.$file)) {
486 486
             return false;
487 487
         }
488 488
 
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
         static $libPath = null;
544 544
 
545 545
         if ($libPath === null) {
546
-            $loaderPath = $path . '/vendor/autoload.php';
546
+            $loaderPath = $path.'/vendor/autoload.php';
547 547
             if (self::fileExists($loaderPath)) {
548 548
                 $libPath = $path;
549 549
                 include $loaderPath;
Please login to merge, or discard this patch.
htdocs/class/userutility.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -113,18 +113,18 @@  discard block
 block discarded – undo
113 113
         $stop = '';
114 114
         // Invalid email address
115 115
         if (!$xoops->checkEmail($email)) {
116
-            $stop .= XoopsLocale::E_INVALID_EMAIL . '<br />';
116
+            $stop .= XoopsLocale::E_INVALID_EMAIL.'<br />';
117 117
         }
118 118
         if (strrpos($email, ' ') > 0) {
119
-            $stop .= XoopsLocale::E_EMAIL_SHOULD_NOT_CONTAIN_SPACES . '<br />';
119
+            $stop .= XoopsLocale::E_EMAIL_SHOULD_NOT_CONTAIN_SPACES.'<br />';
120 120
         }
121 121
         // Check forbidden email address if current operator is not an administrator
122 122
         if (!$xoops->userIsAdmin) {
123 123
             $bad_emails = $xoops->getConfig('bad_emails');
124 124
             if (!empty($bad_emails)) {
125 125
                 foreach ($bad_emails as $be) {
126
-                    if (!empty($be) && preg_match('/' . $be . '/i', $email)) {
127
-                        $stop .= XoopsLocale::E_INVALID_EMAIL . '<br />';
126
+                    if (!empty($be) && preg_match('/'.$be.'/i', $email)) {
127
+                        $stop .= XoopsLocale::E_INVALID_EMAIL.'<br />';
128 128
                         break;
129 129
                     }
130 130
                 }
@@ -133,23 +133,23 @@  discard block
 block discarded – undo
133 133
         // $uname = XoopsLocale::trim($uname);
134 134
         // no controls, puctuation, symbols, spaces or invisible separators
135 135
         if (!preg_match('/^[^\p{C}\p{P}\p{S}\p{Z}]+$/u', $uname)) {
136
-            $stop .= XoopsLocale::E_INVALID_USERNAME . '<br />';
136
+            $stop .= XoopsLocale::E_INVALID_USERNAME.'<br />';
137 137
         }
138 138
         // Check uname settings if current operator is not an administrator
139 139
         if (!$xoops->userIsAdmin) {
140 140
             $maxuname = $xoops->getConfig('maxuname');
141 141
             if (!empty($maxuname) && mb_strlen($uname) > $maxuname) {
142
-                $stop .= sprintf(XoopsLocale::EF_USERNAME_MUST_BE_LESS_THAN, $maxuname) . '<br />';
142
+                $stop .= sprintf(XoopsLocale::EF_USERNAME_MUST_BE_LESS_THAN, $maxuname).'<br />';
143 143
             }
144 144
             $minuname = $xoops->getConfig('minuname');
145 145
             if (!empty($minuname) && mb_strlen($uname) < $minuname) {
146
-                $stop .= sprintf(XoopsLocale::EF_USERNAME_MUST_BE_MORE_THAN, $minuname) . '<br />';
146
+                $stop .= sprintf(XoopsLocale::EF_USERNAME_MUST_BE_MORE_THAN, $minuname).'<br />';
147 147
             }
148 148
             $bad_unames = $xoops->getConfig('bad_unames');
149 149
             if (!empty($bad_unames)) {
150 150
                 foreach ($bad_unames as $bu) {
151
-                    if (!empty($bu) && preg_match('/' . $bu . '/i', $uname)) {
152
-                        $stop .= XoopsLocale::E_NAME_IS_RESERVED . '<br />';
151
+                    if (!empty($bu) && preg_match('/'.$bu.'/i', $uname)) {
152
+                        $stop .= XoopsLocale::E_NAME_IS_RESERVED.'<br />';
153 153
                         break;
154 154
                     }
155 155
                 }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
         }
167 167
         $count = $user_handler->getCount($criteria);
168 168
         if ($count > 0) {
169
-            $stop .= XoopsLocale::E_USERNAME_TAKEN . '<br />';
169
+            $stop .= XoopsLocale::E_USERNAME_TAKEN.'<br />';
170 170
         }
171 171
 
172 172
         $criteria = new CriteriaCompo(new Criteria('email', $email));
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         }
176 176
         $count = $user_handler->getCount($criteria);
177 177
         if ($count > 0) {
178
-            $stop .= XoopsLocale::E_EMAIL_TAKEN . '<br />';
178
+            $stop .= XoopsLocale::E_EMAIL_TAKEN.'<br />';
179 179
         }
180 180
 
181 181
         // If password is not set, skip password validation
@@ -184,14 +184,14 @@  discard block
 block discarded – undo
184 184
         }
185 185
 
186 186
         if (empty($pass) || empty($vpass)) {
187
-            $stop .= XoopsLocale::E_MUST_PROVIDE_PASSWORD . '<br />';
187
+            $stop .= XoopsLocale::E_MUST_PROVIDE_PASSWORD.'<br />';
188 188
         }
189 189
         if (isset($pass) && isset($vpass) && ($pass != $vpass)) {
190
-            $stop .= XoopsLocale::E_PASSWORDS_MUST_MATCH . '<br />';
190
+            $stop .= XoopsLocale::E_PASSWORDS_MUST_MATCH.'<br />';
191 191
         } else {
192 192
             $minpass = $xoops->getConfig('minpass');
193 193
             if (($pass != '') && (!empty($minpass)) && (mb_strlen($pass) < $minpass)) {
194
-                $stop .= sprintf(XoopsLocale::EF_PASSWORD_MUST_BE_GREATER_THAN, $minpass) . '<br />';
194
+                $stop .= sprintf(XoopsLocale::EF_PASSWORD_MUST_BE_GREATER_THAN, $minpass).'<br />';
195 195
             }
196 196
         }
197 197
         return $stop;
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
         $users = array();
270 270
         if (count($userids) > 0) {
271 271
             $criteria = new CriteriaCompo(new Criteria('level', 0, '>'));
272
-            $criteria->add(new Criteria('uid', "('" . implode(',', array_unique($userids)) . "')", 'IN'));
272
+            $criteria->add(new Criteria('uid', "('".implode(',', array_unique($userids))."')", 'IN'));
273 273
 
274 274
             $user_handler = $xoops->getHandlerUser();
275 275
             if (!$rows = $user_handler->getAll($criteria, array('uid', 'uname', 'name'), false, true)) {
@@ -282,8 +282,8 @@  discard block
 block discarded – undo
282 282
                     $users[$uid] = $myts->htmlSpecialChars($row['uname']);
283 283
                 }
284 284
                 if ($linked) {
285
-                    $users[$uid] = '<a href="' . \XoopsBaseConfig::get('url') . '/userinfo.php?uid='
286
-                        . $uid . '" title="' . $users[$uid] . '">' . $users[$uid] . '</a>';
285
+                    $users[$uid] = '<a href="'.\XoopsBaseConfig::get('url').'/userinfo.php?uid='
286
+                        . $uid.'" title="'.$users[$uid].'">'.$users[$uid].'</a>';
287 287
                 }
288 288
             }
289 289
         }
@@ -318,8 +318,8 @@  discard block
 block discarded – undo
318 318
                     $username = $user->getVar('uname');
319 319
                 }
320 320
                 if (!empty($linked)) {
321
-                    $username = '<a href="' . \XoopsBaseConfig::get('url') . '/userinfo.php?uid='
322
-                        . $userid . '" title="' . $username . '">' . $username . '</a>';
321
+                    $username = '<a href="'.\XoopsBaseConfig::get('url').'/userinfo.php?uid='
322
+                        . $userid.'" title="'.$username.'">'.$username.'</a>';
323 323
                 }
324 324
             }
325 325
         }
Please login to merge, or discard this patch.
htdocs/class/tardownloader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function addFileData(&$data, $filename, $time = 0)
98 98
     {
99
-        $dummyfile = \XoopsBaseConfig::get('caches-path') . '/dummy_' . time() . '.html';
99
+        $dummyfile = \XoopsBaseConfig::get('caches-path').'/dummy_'.time().'.html';
100 100
         $fp = @fopen($dummyfile, 'w');
101 101
         if ($fp === false) {
102 102
             return false;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function addBinaryFileData(&$data, $filename, $time = 0)
133 133
     {
134
-        $dummyfile = \XoopsBaseConfig::get('caches-path') . '/dummy_' . time() . '.html';
134
+        $dummyfile = \XoopsBaseConfig::get('caches-path').'/dummy_'.time().'.html';
135 135
         $fp = @fopen($dummyfile, 'wb');
136 136
         if ($fp === false) {
137 137
             return false;
@@ -165,8 +165,8 @@  discard block
 block discarded – undo
165 165
      */
166 166
     public function download($name, $gzip = true)
167 167
     {
168
-        $this->_header($name . $this->ext);
169
-        $str = $this->archiver->toTarOutput($name . $this->ext, $gzip);
168
+        $this->_header($name.$this->ext);
169
+        $str = $this->archiver->toTarOutput($name.$this->ext, $gzip);
170 170
         if ($str !== false) {
171 171
             echo $str;
172 172
         }
Please login to merge, or discard this patch.
htdocs/class/class.zipfile.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,9 +158,9 @@
 block discarded – undo
158 158
         $ctrldir = implode('', $this->ctrl_dir);
159 159
 
160 160
         return $data . $ctrldir . $this->eof_ctrl_dir . pack('v', count($this->ctrl_dir)) . // total # of entries "on this disk"
161
-               pack('v', count($this->ctrl_dir)) . // total # of entries overall
162
-               pack('V', strlen($ctrldir)) . // size of central dir
163
-               pack('V', strlen($data)) . // offset to start of central dir
164
-               "\x00\x00"; // .zip file comment length
161
+                pack('v', count($this->ctrl_dir)) . // total # of entries overall
162
+                pack('V', strlen($ctrldir)) . // size of central dir
163
+                pack('V', strlen($data)) . // offset to start of central dir
164
+                "\x00\x00"; // .zip file comment length
165 165
     } // end of the 'file()' method
166 166
 } // end of the 'zipfile' class
167 167
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
         $name = str_replace('\\', '/', $name);
93 93
 
94 94
         $dtime = dechex($this->unix2DosTime($time));
95
-        $hexdtime = '\x' . $dtime[6] . $dtime[7] . '\x' . $dtime[4] . $dtime[5] . '\x' . $dtime[2] . $dtime[3] . '\x' . $dtime[0] . $dtime[1];
96
-        eval('$hexdtime = "' . $hexdtime . '";');
95
+        $hexdtime = '\x'.$dtime[6].$dtime[7].'\x'.$dtime[4].$dtime[5].'\x'.$dtime[2].$dtime[3].'\x'.$dtime[0].$dtime[1];
96
+        eval('$hexdtime = "'.$hexdtime.'";');
97 97
 
98 98
         $fr = "\x50\x4b\x03\x04";
99 99
         $fr .= "\x14\x00"; // ver needed to extract
@@ -157,10 +157,10 @@  discard block
 block discarded – undo
157 157
         $data = implode('', $this->datasec);
158 158
         $ctrldir = implode('', $this->ctrl_dir);
159 159
 
160
-        return $data . $ctrldir . $this->eof_ctrl_dir . pack('v', count($this->ctrl_dir)) . // total # of entries "on this disk"
161
-               pack('v', count($this->ctrl_dir)) . // total # of entries overall
162
-               pack('V', strlen($ctrldir)) . // size of central dir
163
-               pack('V', strlen($data)) . // offset to start of central dir
160
+        return $data.$ctrldir.$this->eof_ctrl_dir.pack('v', count($this->ctrl_dir)).// total # of entries "on this disk"
161
+               pack('v', count($this->ctrl_dir)).// total # of entries overall
162
+               pack('V', strlen($ctrldir)).// size of central dir
163
+               pack('V', strlen($data)).// offset to start of central dir
164 164
                "\x00\x00"; // .zip file comment length
165 165
     } // end of the 'file()' method
166 166
 } // end of the 'zipfile' class
167 167
\ No newline at end of file
Please login to merge, or discard this patch.