Completed
Branch master (0b66f1)
by Michael
33:21
created
htdocs/install/class/installwizard.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -64,12 +64,12 @@  discard block
 block discarded – undo
64 64
         $this->initLanguage(!empty($_COOKIE['xo_install_lang']) ? $_COOKIE['xo_install_lang'] : 'en_US');
65 65
         // Setup pages
66 66
         $pages = array();
67
-        include_once dirname(__DIR__) . '/include/page.php';
67
+        include_once dirname(__DIR__).'/include/page.php';
68 68
         $this->pages = $pages;
69 69
 
70 70
         // Load default configs
71 71
         $configs = array();
72
-        include_once dirname(__DIR__) . '/include/config.php';
72
+        include_once dirname(__DIR__).'/include/config.php';
73 73
         $this->configs = $configs;
74 74
 
75 75
         if (!$this->checkAccess()) {
@@ -135,10 +135,10 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function loadLangFile($file)
137 137
     {
138
-        if (file_exists($file = XOOPS_INSTALL_PATH . "/locale/{$this->language}/{$file}.php")) {
138
+        if (file_exists($file = XOOPS_INSTALL_PATH."/locale/{$this->language}/{$file}.php")) {
139 139
             include_once $file;
140 140
         } else {
141
-            $file = XOOPS_INSTALL_PATH . "/locale/en_US/{$file}.php";
141
+            $file = XOOPS_INSTALL_PATH."/locale/en_US/{$file}.php";
142 142
             include_once $file;
143 143
         }
144 144
     }
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     public function initLanguage($language)
152 152
     {
153 153
         $language = preg_replace("/[^a-z0-9_\-]/i", "", $language);
154
-        if (!file_exists(XOOPS_INSTALL_PATH . "/locale/{$language}/install.php")) {
154
+        if (!file_exists(XOOPS_INSTALL_PATH."/locale/{$language}/install.php")) {
155 155
             $language = 'en_US';
156 156
         }
157 157
         $this->language = $language;
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         $proto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? 'https' : 'http';
194 194
         $host = $_SERVER['HTTP_HOST'];
195 195
         $base = substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'));
196
-        return $proto . '://' . $host . $base;
196
+        return $proto.'://'.$host.$base;
197 197
     }
198 198
 
199 199
     /**
@@ -218,13 +218,13 @@  discard block
 block discarded – undo
218 218
         }
219 219
         if (!isset($pages[$pageIndex])) {
220 220
             if (defined("XOOPS_URL")) {
221
-                return XOOPS_URL . '/';
221
+                return XOOPS_URL.'/';
222 222
             } else {
223 223
                 return $this->baseLocation();
224 224
             }
225 225
         }
226 226
         $page = $pages[$pageIndex];
227
-        return $this->baseLocation() . "/page_{$page}.php";
227
+        return $this->baseLocation()."/page_{$page}.php";
228 228
     }
229 229
 
230 230
     /**
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
         /* @var Xoops\Form\Form $form */
255 255
         foreach ($this->form as $form) {
256
-            $ret .= "<fieldset><legend>" . $form->getTitle() . "</legend>\n";
256
+            $ret .= "<fieldset><legend>".$form->getTitle()."</legend>\n";
257 257
 
258 258
             /* @var Xoops\Form\Element $ele */
259 259
             foreach ($form->getElements() as $ele) {
@@ -261,31 +261,31 @@  discard block
 block discarded – undo
261 261
                 if ($ele instanceof Xoops\Form\Element) {
262 262
                     if (!$ele->isHidden()) {
263 263
                         if (($caption = $ele->getCaption()) != '') {
264
-                            $ret .= "<label class='xolabel' for='" . $ele->getName() . "'>" . $caption . "</label>";
264
+                            $ret .= "<label class='xolabel' for='".$ele->getName()."'>".$caption."</label>";
265 265
                             if (($desc = $ele->getDescription()) != '') {
266 266
                                 $ret .= "<div class='xoform-help'>";
267 267
                                 $ret .= $desc;
268 268
                                 $ret .= "</div>";
269 269
                             }
270 270
                         }
271
-                        $ret .= $ele->render() . "\n";
271
+                        $ret .= $ele->render()."\n";
272 272
                     } else {
273
-                        $hidden .= $ele->render() . "\n";
273
+                        $hidden .= $ele->render()."\n";
274 274
                     }
275 275
                 }
276 276
             }
277
-            $ret .= "</fieldset>\n" . $hidden . "\n" . $form->renderValidationJS(true);
277
+            $ret .= "</fieldset>\n".$hidden."\n".$form->renderValidationJS(true);
278 278
         }
279 279
         return $ret;
280 280
     }
281 281
 
282 282
     function cleanCache($cacheFolder) {
283
-        $cache = array(1,2,3);
283
+        $cache = array(1, 2, 3);
284 284
         if (!empty($cache)) {
285 285
             for ($i = 0; $i < count($cache); ++$i) {
286 286
                 switch ($cache[$i]) {
287 287
                     case 1:
288
-                        $files = glob($cacheFolder. '/caches/smarty_cache/*.*');
288
+                        $files = glob($cacheFolder.'/caches/smarty_cache/*.*');
289 289
                         foreach ($files as $filename) {
290 290
                             if (basename(strtolower($filename)) !== 'index.html') {
291 291
                                 unlink($filename);
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
                         break;
295 295
 
296 296
                     case 2:
297
-                        $files = glob($cacheFolder . '/caches/smarty_compile/*.*');
297
+                        $files = glob($cacheFolder.'/caches/smarty_compile/*.*');
298 298
                         foreach ($files as $filename) {
299 299
                             if (basename(strtolower($filename)) !== 'index.html') {
300 300
                                 unlink($filename);
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
                         break;
304 304
 
305 305
                     case 3:
306
-                        $files = glob($cacheFolder . '/caches/xoops_cache/*.*');
306
+                        $files = glob($cacheFolder.'/caches/xoops_cache/*.*');
307 307
                         foreach ($files as $filename) {
308 308
                             if (basename(strtolower($filename)) !== 'index.html') {
309 309
                                 unlink($filename);
Please login to merge, or discard this patch.
htdocs/install/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,5 +25,5 @@
 block discarded – undo
25 25
  * @version     $Id$
26 26
  */
27 27
 
28
-require_once __DIR__ . '/page_langselect.php';
28
+require_once __DIR__.'/page_langselect.php';
29 29
 exit();
Please login to merge, or discard this patch.
htdocs/install/page_start.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  * @version     $Id$
25 25
  */
26 26
 
27
-require_once __DIR__ . '/include/common.inc.php';
27
+require_once __DIR__.'/include/common.inc.php';
28 28
 
29 29
 $_SESSION['error'] = array();
30 30
 //$_SESSION['settings'] = array();
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
 $writable = "<ul class='confirmMsg'>";
45 45
 foreach ($wizard->configs['writable'] as $key => $value) {
46
-    if (is_dir('../' . $value)) {
46
+    if (is_dir('../'.$value)) {
47 47
         $writable .= "<li class='directory'>$value</li>";
48 48
     } else {
49 49
         $writable .= "<li class='files'>$value</li>";
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
 
60 60
 $writable_trust = "<ul class='confirmMsg'>";
61 61
 foreach ($wizard->configs['dataPath'] as $key => $value) {
62
-    $writable_trust .= "<li class='directory'>" . $wizard->configs['xoopsPathDefault']['data'] . '/' . $key . "</li>";
62
+    $writable_trust .= "<li class='directory'>".$wizard->configs['xoopsPathDefault']['data'].'/'.$key."</li>";
63 63
     if (is_array($value)) {
64 64
         foreach ($value as $key2 => $value2) {
65
-            $writable_trust .= "<li class='directory'>" . $wizard->configs['xoopsPathDefault']['data'] . '/' . $key . '/' . $value2 . "</li>";
65
+            $writable_trust .= "<li class='directory'>".$wizard->configs['xoopsPathDefault']['data'].'/'.$key.'/'.$value2."</li>";
66 66
         }
67 67
     }
68 68
 }
@@ -73,4 +73,4 @@  discard block
 block discarded – undo
73 73
 $_SESSION['pageHasHelp'] = false;
74 74
 $_SESSION['pageHasForm'] = false;
75 75
 $_SESSION['content'] = $content;
76
-include XOOPS_INSTALL_PATH . '/include/install_tpl.php';
76
+include XOOPS_INSTALL_PATH.'/include/install_tpl.php';
Please login to merge, or discard this patch.
htdocs/install/page_siteinit.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
23 23
  * @author      DuGris (aka L. JEN) <[email protected]>
24 24
  */
25 25
 
26
-require_once __DIR__ . '/include/common.inc.php';
26
+require_once __DIR__.'/include/common.inc.php';
27 27
 
28 28
 set_time_limit(0); // don't want this to timeout
29 29
 
30 30
 function exception_handler($exception)
31 31
 {
32
-    echo "Uncaught exception: " , $exception->getMessage(), "\n";
32
+    echo "Uncaught exception: ", $exception->getMessage(), "\n";
33 33
     var_dump($exception->getTrace());
34 34
 }
35 35
 
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
 $xoops->loadLocale('system');
55 55
 
56 56
 // Install system module
57
-include_once $root . "/modules/system/class/module.php";
58
-include_once $root . "/modules/system/class/system.php";
57
+include_once $root."/modules/system/class/module.php";
58
+include_once $root."/modules/system/class/system.php";
59 59
 
60 60
 $system_module = new SystemModule();
61 61
 $system = System::getInstance();
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         exit();
115 115
     }
116 116
 
117
-    $res = $dbm->query("SELECT COUNT(*) FROM " . $dbm->db->prefix('system_user'));
117
+    $res = $dbm->query("SELECT COUNT(*) FROM ".$dbm->db->prefix('system_user'));
118 118
     list ($isadmin) = $dbm->db->fetchRow($res);
119 119
 }
120 120
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 if ($isadmin) {
124 124
     $pageHasForm = false;
125 125
     $pageHasHelp = false;
126
-    echo "<div class='x2-note errorMsg'>" . ADMIN_EXIST . "</div>\n";
126
+    echo "<div class='x2-note errorMsg'>".ADMIN_EXIST."</div>\n";
127 127
 } else {
128 128
     ?>
129 129
 <fieldset>
@@ -132,20 +132,20 @@  discard block
 block discarded – undo
132 132
     <?php
133 133
             echo '<script type="text/javascript">
134 134
                 var desc = new Array();
135
-                desc[0] = "' . PASSWORD_DESC . '";
136
-                desc[1] = "' . PASSWORD_VERY_WEAK . '";
137
-                desc[2] = "' . PASSWORD_WEAK . '";
138
-                desc[3] = "' . PASSWORD_BETTER . '";
139
-                desc[4] = "' . PASSWORD_MEDIUM . '";
140
-                desc[5] = "' . PASSWORD_STRONG . '";
141
-                desc[6] = "' . PASSWORD_STRONGEST . '";
135
+                desc[0] = "' . PASSWORD_DESC.'";
136
+                desc[1] = "' . PASSWORD_VERY_WEAK.'";
137
+                desc[2] = "' . PASSWORD_WEAK.'";
138
+                desc[3] = "' . PASSWORD_BETTER.'";
139
+                desc[4] = "' . PASSWORD_MEDIUM.'";
140
+                desc[5] = "' . PASSWORD_STRONG.'";
141
+                desc[6] = "' . PASSWORD_STRONGEST.'";
142 142
         </script>';
143 143
 
144 144
     echo xoFormField('adminname', $siteconfig['adminname'], ADMIN_LOGIN_LABEL);
145 145
     if (!empty($error["name"])) {
146 146
         echo '<ul class="diags1">';
147 147
         foreach ($error["name"] as $errmsg) {
148
-            echo '<li class="failure">' . $errmsg . '</li>';
148
+            echo '<li class="failure">'.$errmsg.'</li>';
149 149
         }
150 150
         echo '</ul>';
151 151
     }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     if (!empty($error["email"])) {
155 155
         echo '<ul class="diags1">';
156 156
         foreach ($error["email"] as $errmsg) {
157
-            echo '<li class="failure">' . $errmsg . '</li>';
157
+            echo '<li class="failure">'.$errmsg.'</li>';
158 158
         }
159 159
         echo '</ul>';
160 160
     }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         if (!empty($error["pass"])) {
169 169
             echo '<ul class="diags1">';
170 170
             foreach ($error["pass"] as $errmsg) {
171
-                echo '<li class="failure">' . $errmsg . '</li>';
171
+                echo '<li class="failure">'.$errmsg.'</li>';
172 172
             }
173 173
             echo '</ul>';
174 174
         }
@@ -211,4 +211,4 @@  discard block
 block discarded – undo
211 211
 $_SESSION['pageHasHelp'] = $pageHasHelp;
212 212
 $_SESSION['pageHasForm'] = $pageHasForm;
213 213
 $_SESSION['content'] = $content;
214
-include XOOPS_INSTALL_PATH . '/include/install_tpl.php';
214
+include XOOPS_INSTALL_PATH.'/include/install_tpl.php';
Please login to merge, or discard this patch.
htdocs/readpmsg.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  * @version         $Id$
23 23
  */
24 24
 
25
-include __DIR__ . '/mainfile.php';
25
+include __DIR__.'/mainfile.php';
26 26
 $xoops = Xoops::getInstance();
27 27
 $xoops->events()->triggerEvent('core.readpmsg.start');
28 28
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             }
97 97
         } else {
98 98
             $xoops->tpl()->assign('subject', $obj->getVar("subject"));
99
-            echo $xoops->confirm(array("ok" => 1, "msg_id" => $id, "op" => "delete"), 'readpmsg.php', XoopsLocale::Q_ARE_YOU_SURE_YOU_WANT_TO_DELETE_THIS_MESSAGES . '<br />' . $obj->getVar("subject"));
99
+            echo $xoops->confirm(array("ok" => 1, "msg_id" => $id, "op" => "delete"), 'readpmsg.php', XoopsLocale::Q_ARE_YOU_SURE_YOU_WANT_TO_DELETE_THIS_MESSAGES.'<br />'.$obj->getVar("subject"));
100 100
         }
101 101
         break;
102 102
 }
Please login to merge, or discard this patch.
htdocs/misc.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
                     $ymail = isset($_POST['ymail']) ? trim($_POST['ymail']) : '';
89 89
                 }
90 90
                 if (!isset($_POST['yname']) || trim($_POST['yname']) == "" || $ymail == ''
91
-				|| !isset($_POST['fname']) || trim($_POST['fname']) == "" || !isset($_POST['fmail'])
92
-				|| trim($_POST['fmail']) == '') {
91
+                || !isset($_POST['fname']) || trim($_POST['fname']) == "" || !isset($_POST['fmail'])
92
+                || trim($_POST['fmail']) == '') {
93 93
                     $xoops->redirect($xoops_url . "/misc.php?action=showpopups&amp;type=friend&amp;op=sendform", 2, XoopsLocale::E_YOU_NEED_TO_ENTER_REQUIRED_INFO);
94 94
                     exit();
95 95
                 }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  * @version         $Id$
25 25
  */
26 26
 
27
-include __DIR__ . '/mainfile.php';
27
+include __DIR__.'/mainfile.php';
28 28
 
29 29
 $xoops = Xoops::getInstance();
30 30
 $xoops->logger()->quiet();
@@ -90,21 +90,21 @@  discard block
 block discarded – undo
90 90
                 if (!isset($_POST['yname']) || trim($_POST['yname']) == "" || $ymail == ''
91 91
 				|| !isset($_POST['fname']) || trim($_POST['fname']) == "" || !isset($_POST['fmail'])
92 92
 				|| trim($_POST['fmail']) == '') {
93
-                    $xoops->redirect($xoops_url . "/misc.php?action=showpopups&amp;type=friend&amp;op=sendform", 2, XoopsLocale::E_YOU_NEED_TO_ENTER_REQUIRED_INFO);
93
+                    $xoops->redirect($xoops_url."/misc.php?action=showpopups&amp;type=friend&amp;op=sendform", 2, XoopsLocale::E_YOU_NEED_TO_ENTER_REQUIRED_INFO);
94 94
                     exit();
95 95
                 }
96 96
                 $yname = trim($_POST['yname']);
97 97
                 $fname = trim($_POST['fname']);
98 98
                 $fmail = trim($_POST['fmail']);
99 99
                 if (!$xoops->checkEmail($fmail) || !$xoops->checkEmail($ymail) || preg_match("/[\\0-\\31]/", $yname)) {
100
-                    $errormessage = XoopsLocale::EMAIL_PROVIDED_IS_INVALID . "<br />" . XoopsLocale::E_CHECK_EMAIL_AND_TRY_AGAIN . "";
101
-                    $xoops->redirect($xoops_url . "/misc.php?action=showpopups&amp;type=friend&amp;op=sendform", 2, $errormessage);
100
+                    $errormessage = XoopsLocale::EMAIL_PROVIDED_IS_INVALID."<br />".XoopsLocale::E_CHECK_EMAIL_AND_TRY_AGAIN."";
101
+                    $xoops->redirect($xoops_url."/misc.php?action=showpopups&amp;type=friend&amp;op=sendform", 2, $errormessage);
102 102
                 }
103 103
                 $xoopsMailer = $xoops->getMailer();
104 104
                 $xoopsMailer->setTemplate("tellfriend.tpl");
105 105
                 $xoopsMailer->assign("SITENAME", $xoops->getConfig('sitename'));
106 106
                 $xoopsMailer->assign("ADMINMAIL", $xoops->getConfig('adminmail'));
107
-                $xoopsMailer->assign("SITEURL", $xoops_url . "/");
107
+                $xoopsMailer->assign("SITEURL", $xoops_url."/");
108 108
                 $xoopsMailer->assign("YOUR_NAME", $yname);
109 109
                 $xoopsMailer->assign("FRIEND_NAME", $fname);
110 110
                 $xoopsMailer->setToEmails($fmail);
@@ -144,11 +144,11 @@  discard block
 block discarded – undo
144 144
                     $onlineUsers[$i]['name'] = $user->getVar('uname');
145 145
                     $response = $xoops->service("Avatar")->getAvatarUrl($user);
146 146
                     $avatar = $response->getValue();
147
-                    $avatar = empty($avatar) ? $xoops_upload_url . '/blank.gif' : $avatar;
147
+                    $avatar = empty($avatar) ? $xoops_upload_url.'/blank.gif' : $avatar;
148 148
                     $onlineUsers[$i]['avatar'] = $avatar;
149 149
                 } else {
150 150
                     $onlineUsers[$i]['name'] = $xoops->getConfig('anonymous');
151
-                    $onlineUsers[$i]['avatar'] = $xoops_upload_url . '/blank.gif';
151
+                    $onlineUsers[$i]['avatar'] = $xoops_upload_url.'/blank.gif';
152 152
                 }
153 153
             }
154 154
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             if ($xoops->getConfig('use_ssl') && isset($_POST[$xoops->getConfig('sslpost_name')]) && $xoops->isUser()) {
167 167
                 $xoops->loadLanguage('user');
168 168
                 echo sprintf(XoopsLocale::E_INCORRECT_LOGIN, $xoops->user->getVar('uname'));
169
-                echo '<div style="text-align:center;"><input class="formButton" value="' . XoopsLocale::A_CLOSE . '" type="button" onclick="window.opener.location.reload();window.close();" /></div>';
169
+                echo '<div style="text-align:center;"><input class="formButton" value="'.XoopsLocale::A_CLOSE.'" type="button" onclick="window.opener.location.reload();window.close();" /></div>';
170 170
                 $closebutton = false;
171 171
             }
172 172
             break;
Please login to merge, or discard this patch.
htdocs/image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
  * @version         $Id$
20 20
  */
21 21
 
22
-include __DIR__ . '/mainfile.php';
22
+include __DIR__.'/mainfile.php';
23 23
 
24 24
 \Xoops::getInstance()->events()->triggerEvent('core.image');
25 25
 
26 26
 header('Content-type: image/gif');
27
-readfile(\XoopsBaseConfig::get('uploads-path') . '/blank.gif');
27
+readfile(\XoopsBaseConfig::get('uploads-path').'/blank.gif');
Please login to merge, or discard this patch.
htdocs/browse.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  */
21 21
 
22 22
 $xoopsOption['nocommon'] = true;
23
-require_once __DIR__ . '/mainfile.php';
23
+require_once __DIR__.'/mainfile.php';
24 24
 
25 25
 //error_reporting(0);
26 26
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
 $path_type = substr($path, 0, strpos($path, '/'));
44 44
 if (!isset($xoops->paths[$path_type])) {
45
-    $path = "XOOPS/" . $path;
45
+    $path = "XOOPS/".$path;
46 46
     $path_type = "XOOPS";
47 47
 }
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 $dir = realpath($xoops->paths[$path_type][0]);
57 57
 
58 58
 //We are not allowing directory traversal either
59
-if ($file===false || $dir===false || !strstr($file, $dir)) {
59
+if ($file === false || $dir === false || !strstr($file, $dir)) {
60 60
     header("HTTP/1.0 404 Not Found");
61 61
     exit();
62 62
 }
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
 
95 95
 // Output now
96 96
 // seconds, minutes, hours, days
97
-$expires = 60*60*24*15;
97
+$expires = 60 * 60 * 24 * 15;
98 98
 //header("Pragma: public");
99
-header("Cache-Control: public, max-age=" . $expires);
100
-header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $expires) . ' GMT');
101
-header('Last-Modified: ' . gmdate('D, d M Y H:i:s T', $mtime));
102
-header('Content-type: ' . $mimetype);
99
+header("Cache-Control: public, max-age=".$expires);
100
+header('Expires: '.gmdate('D, d M Y H:i:s', time() + $expires).' GMT');
101
+header('Last-Modified: '.gmdate('D, d M Y H:i:s T', $mtime));
102
+header('Content-type: '.$mimetype);
103 103
 readfile($file);
104 104
 exit;
Please login to merge, or discard this patch.
htdocs/notifications.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  * @version         $Id$
20 20
  */
21 21
 
22
-include __DIR__ . '/mainfile.php';
22
+include __DIR__.'/mainfile.php';
23 23
 
24 24
 $xoops = Xoops::getInstance();
25 25
 if ($xoops->isActiveModule('notifications')) {
Please login to merge, or discard this patch.