Completed
Pull Request — master (#628)
by Richard
19:02 queued 04:58
created
htdocs/modules/userconfigs/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  * @version         $Id$
22 22
  */
23 23
 
24
-include dirname(dirname(__DIR__)) . '/mainfile.php';
24
+include dirname(dirname(__DIR__)).'/mainfile.php';
25 25
 
26 26
 $xoops = Xoops::getInstance();
27 27
 $helper = Userconfigs::getInstance();
Please login to merge, or discard this patch.
htdocs/modules/logger/admin/menu.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -17,22 +17,22 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team
18 18
  */
19 19
 
20
-$adminmenu=array();
20
+$adminmenu = array();
21 21
 
22 22
 $adminmenu[] = array(
23
-    'title'	=> _MI_LOGGER_ADMENU1 ,
24
-    'link'	=> 'admin/index.php' ,
23
+    'title'	=> _MI_LOGGER_ADMENU1,
24
+    'link'	=> 'admin/index.php',
25 25
     'icon'	=> 'home.png'
26
-) ;
26
+);
27 27
 
28 28
 $adminmenu[] = array(
29
-    'title'	=> _MI_LOGGER_ADMENU2 ,
30
-    'link'	=> 'admin/about.php' ,
29
+    'title'	=> _MI_LOGGER_ADMENU2,
30
+    'link'	=> 'admin/about.php',
31 31
     'icon'	=> 'about.png'
32
-) ;
32
+);
33 33
 
34 34
 $adminmenu[] = array(
35
-    'title'	=> _MI_LOGGER_ADMENU3 ,
36
-    'link'	=> 'admin/permissions.php' ,
35
+    'title'	=> _MI_LOGGER_ADMENU3,
36
+    'link'	=> 'admin/permissions.php',
37 37
     'icon'	=> 'permissions.png'
38
-) ;
38
+);
Please login to merge, or discard this patch.
htdocs/modules/logger/admin/permissions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 use Xmf\Module\Helper;
22 22
 use Xmf\Module\Helper\Permission;
23 23
 
24
-include_once __DIR__ . '/admin_header.php';
24
+include_once __DIR__.'/admin_header.php';
25 25
 
26 26
 $moduleAdmin = new \Xoops\Module\Admin();
27 27
 $moduleAdmin->displayNavigation('permissions.php');
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 $permHelper = new Permission();
31 31
 if ($permHelper) {
32 32
     // this is the name and item we are going to work with
33
-    $gperm_name='use_logger';
34
-    $gperm_itemid=0;
33
+    $gperm_name = 'use_logger';
34
+    $gperm_itemid = 0;
35 35
 
36 36
     // if this is a post operation get our variables
37
-    if ('POST'===Request::getMethod()) {
38
-        $name=$permHelper->defaultFieldName($gperm_name, $gperm_itemid);
39
-        $groups=Request::getVar($name, array(), 'POST');
37
+    if ('POST' === Request::getMethod()) {
38
+        $name = $permHelper->defaultFieldName($gperm_name, $gperm_itemid);
39
+        $groups = Request::getVar($name, array(), 'POST');
40 40
         $permHelper->savePermissionForItem($gperm_name, $gperm_itemid, $groups);
41 41
         echo $xoops->alert('success', _MA_LOGGER_FORM_PROCESSED, _MA_LOGGER_PERMISSION_FORM);
42 42
     }
@@ -56,4 +56,4 @@  discard block
 block discarded – undo
56 56
     echo $form->render();
57 57
 }
58 58
 
59
-include_once __DIR__ . '/admin_footer.php';
59
+include_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
htdocs/modules/logger/preloads/preload.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         $path = dirname(__DIR__);
99 99
         XoopsLoad::addMap(array(
100
-            'legacylogger' => $path . '/class/legacylogger.php',
100
+            'legacylogger' => $path.'/class/legacylogger.php',
101 101
         ));
102 102
     }
103 103
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     public static function eventCoreIncludeCommonStart($args)
112 112
     {
113 113
         if (class_exists('LegacyLogger')) {
114
-            LegacyLogger::getInstance()->enable();//until we get a db connection debug is enabled
114
+            LegacyLogger::getInstance()->enable(); //until we get a db connection debug is enabled
115 115
             LegacyLogger::getInstance()->startTime();
116 116
             LegacyLogger::getInstance()->startTime('XOOPS Boot');
117 117
         }
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     {
292 292
         /* @var $block XoopsBlock */
293 293
         $block = $args[0];
294
-        $isCached= $args[1];
294
+        $isCached = $args[1];
295 295
         LegacyLogger::getInstance()->addBlock($block->getVar('name'), $isCached, $block->getVar('bcachetime'));
296 296
     }
297 297
 
@@ -430,6 +430,6 @@  discard block
 block discarded – undo
430 430
      */
431 431
     public static function eventSystemPreferencesSave($args)
432 432
     {
433
-        XoopsLoad::addMap(array('legacylogger' => dirname(__DIR__) . '/class/legacylogger.php'));
433
+        XoopsLoad::addMap(array('legacylogger' => dirname(__DIR__).'/class/legacylogger.php'));
434 434
     }
435 435
 }
Please login to merge, or discard this patch.
htdocs/modules/logger/language/english/modinfo.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -16,20 +16,20 @@
 block discarded – undo
16 16
  * @version         $Id$
17 17
  */
18 18
 
19
-define('_MI_LOGGER_NAME','Logger');
20
-define('_MI_LOGGER_DSC','Legacy style error reporting and performance analysis');
19
+define('_MI_LOGGER_NAME', 'Logger');
20
+define('_MI_LOGGER_DSC', 'Legacy style error reporting and performance analysis');
21 21
 
22
-define('_MI_LOGGER_ENABLE',"Display Legacy Logger");
23
-define('_MI_LOGGER_POPUP',"Use Popup Window");
24
-define('_MI_LOGGER_SMARTYDEBUG',"Enable Smarty Debug");
22
+define('_MI_LOGGER_ENABLE', "Display Legacy Logger");
23
+define('_MI_LOGGER_POPUP', "Use Popup Window");
24
+define('_MI_LOGGER_SMARTYDEBUG', "Enable Smarty Debug");
25 25
 
26
-define('_MI_LOGGER_UCONF_CAT_OPT','Options');
27
-define('_MI_LOGGER_UCONF_CAT_OPT_DESC','Legacy Logger Options');
26
+define('_MI_LOGGER_UCONF_CAT_OPT', 'Options');
27
+define('_MI_LOGGER_UCONF_CAT_OPT_DESC', 'Legacy Logger Options');
28 28
 
29
-define('_MI_LOGGER_UCONF_ENABLE_BAR','Display Legacy Logger');
30
-define('_MI_LOGGER_UCONF_POPUP',"Use Popup Window");
31
-define('_MI_LOGGER_UCONF_ENABLE_SMARTY','Enable Smarty Debug');
29
+define('_MI_LOGGER_UCONF_ENABLE_BAR', 'Display Legacy Logger');
30
+define('_MI_LOGGER_UCONF_POPUP', "Use Popup Window");
31
+define('_MI_LOGGER_UCONF_ENABLE_SMARTY', 'Enable Smarty Debug');
32 32
 
33
-define('_MI_LOGGER_ADMENU1','Home');
34
-define('_MI_LOGGER_ADMENU2','About');
35
-define('_MI_LOGGER_ADMENU3','Permissions');
33
+define('_MI_LOGGER_ADMENU1', 'Home');
34
+define('_MI_LOGGER_ADMENU2', 'About');
35
+define('_MI_LOGGER_ADMENU3', 'Permissions');
Please login to merge, or discard this patch.
htdocs/modules/logger/language/english/admin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * @version         $Id$
17 17
  */
18 18
 
19
-define('_MA_LOGGER_PERMISSION_FORM','Legacy Logger Usage Permissions');
20
-define('_MA_LOGGER_PERMISSION_GROUPS','Select groups that may use the Logger');
21
-define('_MA_LOGGER_FORM_SUBMIT','Save');
22
-define('_MA_LOGGER_FORM_PROCESSED','Permissions updated.');
19
+define('_MA_LOGGER_PERMISSION_FORM', 'Legacy Logger Usage Permissions');
20
+define('_MA_LOGGER_PERMISSION_GROUPS', 'Select groups that may use the Logger');
21
+define('_MA_LOGGER_FORM_SUBMIT', 'Save');
22
+define('_MA_LOGGER_FORM_PROCESSED', 'Permissions updated.');
Please login to merge, or discard this patch.
htdocs/modules/logger/class/plugin/userconfigs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function configs()
60 60
     {
61
-        $config[]=array(
61
+        $config[] = array(
62 62
             'name' => 'logger_enable',
63 63
             'title' => '_MI_LOGGER_UCONF_ENABLE_BAR',
64 64
             'description' => '',
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             'category' => 'cat_options'
81 81
         );
82 82
 
83
-        $config[]=array(
83
+        $config[] = array(
84 84
             'name' => 'debug_smarty_enable',
85 85
             'title' => '_MI_LOGGER_UCONF_ENABLE_SMARTY',
86 86
             'description' => '',
Please login to merge, or discard this patch.
htdocs/modules/logger/class/legacylogger.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -300,8 +300,8 @@  discard block
 block discarded – undo
300 300
         if ($this->activated) {
301 301
             $this->log(
302 302
                 LogLevel::ERROR,
303
-                'Exception: ' . $e->getMessage() . ' - ' .
304
-                $this->sanitizePath($e->getFile()) . ' ' . $e->getLine()
303
+                'Exception: '.$e->getMessage().' - '.
304
+                $this->sanitizePath($e->getFile()).' '.$e->getLine()
305 305
             );
306 306
         }
307 307
     }
@@ -362,9 +362,9 @@  discard block
 block discarded – undo
362 362
         $pattern = '<!--<xo-logger-output>-->';
363 363
         $pos = strpos($output, $pattern);
364 364
         if ($pos !== false) {
365
-            return substr($output, 0, $pos) . $log . substr($output, $pos + strlen($pattern));
365
+            return substr($output, 0, $pos).$log.substr($output, $pos + strlen($pattern));
366 366
         } else {
367
-            return $output . $log;
367
+            return $output.$log;
368 368
         }
369 369
     }
370 370
 
@@ -387,15 +387,15 @@  discard block
 block discarded – undo
387 387
             $content = '
388 388
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
389 389
 <head>
390
-    <meta http-equiv="content-language" content="' . XoopsLocale::getLangCode() . '" />
391
-    <meta http-equiv="content-type" content="text/html; charset=' . XoopsLocale::getCharset() . '" />
392
-    <title>' . $xoops->getConfig('sitename') . ' - ' . _MD_LOGGER_DEBUG . ' </title>
390
+    <meta http-equiv="content-language" content="' . XoopsLocale::getLangCode().'" />
391
+    <meta http-equiv="content-type" content="text/html; charset=' . XoopsLocale::getCharset().'" />
392
+    <title>' . $xoops->getConfig('sitename').' - '._MD_LOGGER_DEBUG.' </title>
393 393
     <meta name="generator" content="XOOPS" />
394
-    <link rel="stylesheet" type="text/css" media="all" href="' . $xoops->getCss($xoops->getConfig('theme_set')) . '" />
394
+    <link rel="stylesheet" type="text/css" media="all" href="' . $xoops->getCss($xoops->getConfig('theme_set')).'" />
395 395
 </head>
396
-<body>' . $dump . '
396
+<body>' . $dump.'
397 397
     <div style="text-align:center;">
398
-        <input class="formButton" value="' . XoopsLocale::A_CLOSE . '" type="button" onclick="javascript:window.close();" />
398
+        <input class="formButton" value="' . XoopsLocale::A_CLOSE.'" type="button" onclick="javascript:window.close();" />
399 399
     </div>
400 400
 ';
401 401
             $ret .= '
@@ -405,8 +405,8 @@  discard block
 block discarded – undo
405 405
 ';
406 406
             $lines = preg_split("/(\r\n|\r|\n)( *)/", $content);
407 407
             foreach ($lines as $line) {
408
-                $ret .= "\n" . 'debug_window.document.writeln("'
409
-                    . str_replace(array('"', '</'), array('\"', '<\/'), $line) . '");';
408
+                $ret .= "\n".'debug_window.document.writeln("'
409
+                    . str_replace(array('"', '</'), array('\"', '<\/'), $line).'");';
410 410
             }
411 411
             $ret .= '
412 412
     debug_window.focus();
@@ -434,11 +434,11 @@  discard block
 block discarded – undo
434 434
         $memory = 0;
435 435
 
436 436
         if (function_exists('memory_get_usage')) {
437
-            $memory = memory_get_usage() . ' bytes';
437
+            $memory = memory_get_usage().' bytes';
438 438
         } else {
439 439
             if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
440 440
                 $out = array();
441
-                exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $out);
441
+                exec('tasklist /FI "PID eq '.getmypid().'" /FO LIST', $out);
442 442
                 if (isset($out[5])) {
443 443
                     $memory = sprintf(_MD_LOGGER_MEM_ESTIMATED, substr($out[5], strpos($out[5], ':') + 1));
444 444
                 }
@@ -451,20 +451,20 @@  discard block
 block discarded – undo
451 451
         if (empty($mode)) {
452 452
             $views = array('errors', 'deprecated', 'queries', 'blocks', 'extra');
453 453
             $ret .= "\n<div id=\"xo-logger-output\">\n<div id='xo-logger-tabs'>\n";
454
-            $ret .= "<a href='javascript:xoSetLoggerView(\"none\")'>" . _MD_LOGGER_NONE . "</a>\n";
455
-            $ret .= "<a href='javascript:xoSetLoggerView(\"\")'>" . _MD_LOGGER_ALL . "</a>\n";
454
+            $ret .= "<a href='javascript:xoSetLoggerView(\"none\")'>"._MD_LOGGER_NONE."</a>\n";
455
+            $ret .= "<a href='javascript:xoSetLoggerView(\"\")'>"._MD_LOGGER_ALL."</a>\n";
456 456
             foreach ($views as $view) {
457 457
                 $count = count($this->$view);
458
-                $ret .= "<a href='javascript:xoSetLoggerView(\"$view\")'>" . constant('_MD_LOGGER_' . strtoupper($view)) . " ($count)</a>\n";
458
+                $ret .= "<a href='javascript:xoSetLoggerView(\"$view\")'>".constant('_MD_LOGGER_'.strtoupper($view))." ($count)</a>\n";
459 459
             }
460 460
             $count = count($this->logstart);
461
-            $ret .= "<a href='javascript:xoSetLoggerView(\"timers\")'>" . _MD_LOGGER_TIMERS . "($count)</a>\n";
461
+            $ret .= "<a href='javascript:xoSetLoggerView(\"timers\")'>"._MD_LOGGER_TIMERS."($count)</a>\n";
462 462
             $ret .= "</div>\n";
463 463
         }
464 464
 
465 465
         if (empty($mode) || $mode === 'errors') {
466 466
             $class = 'even';
467
-            $ret .= '<table id="xo-logger-errors" class="outer"><thead><tr><th>' . _MD_LOGGER_ERRORS . '</th></tr></thead><tbody>';
467
+            $ret .= '<table id="xo-logger-errors" class="outer"><thead><tr><th>'._MD_LOGGER_ERRORS.'</th></tr></thead><tbody>';
468 468
             foreach ($this->errors as $error) {
469 469
                 $ret .= "\n<tr><td class='$class'>";
470 470
                 $ret .= $error;
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
 
477 477
         if (empty($mode) || $mode === 'deprecated') {
478 478
             $class = 'even';
479
-            $ret .= '<table id="xo-logger-deprecated" class="outer"><thead><tr><th>' . _MD_LOGGER_DEPRECATED . '</th></tr></thead><tbody>';
479
+            $ret .= '<table id="xo-logger-deprecated" class="outer"><thead><tr><th>'._MD_LOGGER_DEPRECATED.'</th></tr></thead><tbody>';
480 480
             foreach ($this->deprecated as $message) {
481 481
                 $ret .= "\n<tr><td class='$class'>";
482 482
                 $ret .= $message;
@@ -488,42 +488,42 @@  discard block
 block discarded – undo
488 488
 
489 489
         if (empty($mode) || $mode === 'queries') {
490 490
             $class = 'even';
491
-            $ret .= '<table id="xo-logger-queries" class="outer"><thead><tr><th>' . _MD_LOGGER_QUERIES . '</th></tr></thead><tbody>';
492
-            $pattern = '/\b' . preg_quote(\XoopsBaseConfig::get('db-prefix')) . '\_/i';
491
+            $ret .= '<table id="xo-logger-queries" class="outer"><thead><tr><th>'._MD_LOGGER_QUERIES.'</th></tr></thead><tbody>';
492
+            $pattern = '/\b'.preg_quote(\XoopsBaseConfig::get('db-prefix')).'\_/i';
493 493
 
494 494
             foreach ($this->queries as $q) {
495 495
                 $sql = preg_replace($pattern, '', $q['sql']);
496 496
                 $query_time = isset($q['query_time']) ? sprintf('%0.6f - ', $q['query_time']) : '';
497 497
 
498 498
                 if (isset($q['error'])) {
499
-                    $ret .= '<tr class="' . $class . '"><td><span style="color:#ff0000;">' . $query_time . htmlentities($sql) . '<br /><strong>Error number:</strong> ' . $q['errno'] . '<br /><strong>Error message:</strong> ' . $q['error'] . '</span></td></tr>';
499
+                    $ret .= '<tr class="'.$class.'"><td><span style="color:#ff0000;">'.$query_time.htmlentities($sql).'<br /><strong>Error number:</strong> '.$q['errno'].'<br /><strong>Error message:</strong> '.$q['error'].'</span></td></tr>';
500 500
                 } else {
501
-                    $ret .= '<tr class="' . $class . '"><td>' . $query_time . htmlentities($sql) . '</td></tr>';
501
+                    $ret .= '<tr class="'.$class.'"><td>'.$query_time.htmlentities($sql).'</td></tr>';
502 502
                 }
503 503
 
504 504
                 $class = ($class === 'odd') ? 'even' : 'odd';
505 505
             }
506
-            $ret .= '</tbody><tfoot><tr class="foot"><td>' . _MD_LOGGER_TOTAL . ': <span style="color:#ff0000;">' . count($this->queries) . '</span></td></tr></tfoot></table>';
506
+            $ret .= '</tbody><tfoot><tr class="foot"><td>'._MD_LOGGER_TOTAL.': <span style="color:#ff0000;">'.count($this->queries).'</span></td></tr></tfoot></table>';
507 507
         }
508 508
         if (empty($mode) || $mode === 'blocks') {
509 509
             $class = 'even';
510
-            $ret .= '<table id="xo-logger-blocks" class="outer"><thead><tr><th>' . _MD_LOGGER_BLOCKS . '</th></tr></thead><tbody>';
510
+            $ret .= '<table id="xo-logger-blocks" class="outer"><thead><tr><th>'._MD_LOGGER_BLOCKS.'</th></tr></thead><tbody>';
511 511
             foreach ($this->blocks as $b) {
512 512
                 if ($b['cached']) {
513
-                    $ret .= '<tr><td class="' . $class . '"><strong>' . $b['name'] . ':</strong> ' . sprintf(_MD_LOGGER_CACHED, (int)($b['cachetime'])) . '</td></tr>';
513
+                    $ret .= '<tr><td class="'.$class.'"><strong>'.$b['name'].':</strong> '.sprintf(_MD_LOGGER_CACHED, (int)($b['cachetime'])).'</td></tr>';
514 514
                 } else {
515
-                    $ret .= '<tr><td class="' . $class . '"><strong>' . $b['name'] . ':</strong> ' . _MD_LOGGER_NOT_CACHED . '</td></tr>';
515
+                    $ret .= '<tr><td class="'.$class.'"><strong>'.$b['name'].':</strong> '._MD_LOGGER_NOT_CACHED.'</td></tr>';
516 516
                 }
517 517
                 $class = ($class === 'odd') ? 'even' : 'odd';
518 518
             }
519
-            $ret .= '</tbody><tfoot><tr class="foot"><td>' . _MD_LOGGER_TOTAL . ': <span style="color:#ff0000;">' . count($this->blocks) . '</span></td></tr></tfoot></table>';
519
+            $ret .= '</tbody><tfoot><tr class="foot"><td>'._MD_LOGGER_TOTAL.': <span style="color:#ff0000;">'.count($this->blocks).'</span></td></tr></tfoot></table>';
520 520
         }
521 521
         if (empty($mode) || $mode === 'extra') {
522 522
             $class = 'even';
523
-            $ret .= '<table id="xo-logger-extra" class="outer"><thead><tr><th>' . _MD_LOGGER_EXTRA . '</th></tr></thead><tbody>';
523
+            $ret .= '<table id="xo-logger-extra" class="outer"><thead><tr><th>'._MD_LOGGER_EXTRA.'</th></tr></thead><tbody>';
524 524
             foreach ($this->extra as $ex) {
525
-                $ret .= '<tr><td class="' . $class . '"><strong>';
526
-                $ret .= htmlspecialchars($ex['name']) . ':</strong> ' . htmlspecialchars($ex['msg']);
525
+                $ret .= '<tr><td class="'.$class.'"><strong>';
526
+                $ret .= htmlspecialchars($ex['name']).':</strong> '.htmlspecialchars($ex['msg']);
527 527
                 $ret .= '</td></tr>';
528 528
                 $class = ($class === 'odd') ? 'even' : 'odd';
529 529
             }
@@ -531,10 +531,10 @@  discard block
 block discarded – undo
531 531
         }
532 532
         if (empty($mode) || $mode === 'timers') {
533 533
             $class = 'even';
534
-            $ret .= '<table id="xo-logger-timers" class="outer"><thead><tr><th>' . _MD_LOGGER_TIMERS . '</th></tr></thead><tbody>';
534
+            $ret .= '<table id="xo-logger-timers" class="outer"><thead><tr><th>'._MD_LOGGER_TIMERS.'</th></tr></thead><tbody>';
535 535
             foreach ($this->logstart as $k => $v) {
536
-                $ret .= '<tr><td class="' . $class . '"><strong>';
537
-                $ret .= sprintf(_MD_LOGGER_TIMETOLOAD, htmlspecialchars($k) . '</strong>', '<span style="color:#ff0000;">' . sprintf("%.03f", $this->dumpTime($k)) . '</span>');
536
+                $ret .= '<tr><td class="'.$class.'"><strong>';
537
+                $ret .= sprintf(_MD_LOGGER_TIMETOLOAD, htmlspecialchars($k).'</strong>', '<span style="color:#ff0000;">'.sprintf("%.03f", $this->dumpTime($k)).'</span>');
538 538
                 $ret .= '</td></tr>';
539 539
                 $class = ($class === 'odd') ? 'even' : 'odd';
540 540
             }
Please login to merge, or discard this patch.
htdocs/modules/pm/admin/prune.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  * @author          Jan Pedersen
24 24
  * @author          Taiwen Jiang <[email protected]>
25 25
  */
26
-include __DIR__ . '/header.php';
26
+include __DIR__.'/header.php';
27 27
 
28 28
 $xoops = Xoops::getInstance();
29 29
 $xoops->header();
Please login to merge, or discard this patch.