Completed
Push — master ( 96da4e...7c5656 )
by Michael
04:52
created
class/rate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 
28 28
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
29
-require_once __DIR__ . '/../include/vars.php';
29
+require_once __DIR__.'/../include/vars.php';
30 30
 //mod_loadFunctions('', $GLOBALS['moddirname']);
31 31
 
32 32
 if (!class_exists('Brate')):
Please login to merge, or discard this patch.
class/xml.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 
28 28
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
29
-require_once __DIR__ . '/../include/vars.php';
29
+require_once __DIR__.'/../include/vars.php';
30 30
 //mod_loadFunctions('', $GLOBALS['moddirname']);
31 31
 
32 32
 /*** GENERAL USAGE *********************************************************
@@ -64,14 +64,14 @@  discard block
 block discarded – undo
64 64
  */
65 65
 
66 66
 // your local timezone, set to "" to disable or for GMT
67
-$server_TZ = abs((int)($GLOBALS['xoopsConfig']['server_TZ'] * 3600.0));
68
-$prefix    = ($GLOBALS['xoopsConfig']['server_TZ'] < 0) ? '-' : '+';
69
-$TIME_ZONE = $prefix . date('H:i', $server_TZ);
67
+$server_TZ = abs((int) ($GLOBALS['xoopsConfig']['server_TZ']*3600.0));
68
+$prefix    = ($GLOBALS['xoopsConfig']['server_TZ']<0) ? '-' : '+';
69
+$TIME_ZONE = $prefix.date('H:i', $server_TZ);
70 70
 define('TIME_ZONE', $TIME_ZONE);
71 71
 // Version string.
72 72
 define('FEEDCREATOR_VERSION', 'ARTICLE @ XOOPS powered by FeedCreator');
73 73
 
74
-require_once __DIR__ . '/feedcreator.class.php';
74
+require_once __DIR__.'/feedcreator.class.php';
75 75
 
76 76
 /**
77 77
  * Description
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
          */
96 96
         public function __construct($version)
97 97
         {
98
-            $this->filename = XOOPS_CACHE_PATH . '/feed.xml';
98
+            $this->filename = XOOPS_CACHE_PATH.'/feed.xml';
99 99
             $this->version  = $version;
100 100
         }
101 101
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
                 foreach (array_keys($val) as $key) {
123 123
                     $val[$key] = $this->convert_encoding($val[$key]);
124 124
                 }
125
-            } else {
125
+            }else {
126 126
                 $val = XoopsLocal::convert_encoding($val, $this->encoding, _CHARSET);
127 127
             }
128 128
 
Please login to merge, or discard this patch.
blocks/block.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
     $current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path);
33 33
 }
34 34
 $url_arr = explode('/', strstr($current_path, '/modules/'));
35
-include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php';
36
-include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/class/utility.php';
35
+include XOOPS_ROOT_PATH.'/modules/'.$url_arr[2].'/include/vars.php';
36
+include XOOPS_ROOT_PATH.'/modules/'.$url_arr[2].'/class/utility.php';
37 37
 //require_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['moddirname'] . '/include/functions.php';
38 38
 
39 39
 /**
Please login to merge, or discard this patch.
action.blog.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 use Xmf\Request;
28 28
 
29
-include __DIR__ . '/header.php';
29
+include __DIR__.'/header.php';
30 30
 
31
-$op      = Request::getString('op', Request::getString('op', '', 'POST'), 'GET');//!empty($_POST['op']) ? $_POST['op'] : (!empty($_GET['op']) ? $_GET['op'] : '');
32
-$blog_id = Request::getArray('blog', Request::getArray('blog', array(), 'POST'), 'GET');//!empty($_POST['blog']) ? $_POST['blog'] : (!empty($_GET['blog']) ? $_GET['blog'] : 0);
33
-$blog_id = is_array($blog_id) ? array_map('intval', $blog_id) : (int)$blog_id;
31
+$op      = Request::getString('op', Request::getString('op', '', 'POST'), 'GET'); //!empty($_POST['op']) ? $_POST['op'] : (!empty($_GET['op']) ? $_GET['op'] : '');
32
+$blog_id = Request::getArray('blog', Request::getArray('blog', array(), 'POST'), 'GET'); //!empty($_POST['blog']) ? $_POST['blog'] : (!empty($_GET['blog']) ? $_GET['blog'] : 0);
33
+$blog_id = is_array($blog_id) ? array_map('intval', $blog_id) : (int) $blog_id;
34 34
 
35 35
 if (empty($xoopsModuleConfig['newblog_submit']) && (!is_object($xoopsUser) || !$xoopsUser->isAdmin())) {
36 36
     redirect_header('index.php', 2, _NOPERM);
@@ -41,10 +41,10 @@  discard block
 block discarded – undo
41 41
 }
42 42
 
43 43
 if ($op === 'save' && !$GLOBALS['xoopsSecurity']->check()) {
44
-    redirect_header('javascript:history.go(-1);', 1, planet_constant('MD_INVALID') . ': security check failed');
44
+    redirect_header('javascript:history.go(-1);', 1, planet_constant('MD_INVALID').': security check failed');
45 45
 }
46
-include XOOPS_ROOT_PATH . '/header.php';
47
-include XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/include/vars.php';
46
+include XOOPS_ROOT_PATH.'/header.php';
47
+include XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->getVar('dirname').'/include/vars.php';
48 48
 
49 49
 $blogHandler     = xoops_getModuleHandler('blog', $GLOBALS['moddirname']);
50 50
 $categoryHandler = xoops_getModuleHandler('category', $GLOBALS['moddirname']);
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
         if ($blog_id) {
57 57
             $blog_obj = $blogHandler->get($blog_id);
58 58
             if ($xoopsUser->isAdmin()) {
59
-                $blog_obj->setVar('blog_status', Request::getInt('blog_status', 0, 'POST'));// @$_POST['blog_status']);
59
+                $blog_obj->setVar('blog_status', Request::getInt('blog_status', 0, 'POST')); // @$_POST['blog_status']);
60 60
             }
61
-        } else {
61
+        }else {
62 62
             if ($blog_exists = $blogHandler->getCount(new Criteria('blog_feed', $myts->addSlashes(trim(Request::getText('blog_feed', '', 'POST')))))  //$_POST['blog_feed']))))
63 63
             ) {
64 64
                 redirect_header('index.php', 2, planet_constant('MD_BLOGEXISTS'));
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 case 2:
72 72
                     if (!is_object($xoopsUser)) {
73 73
                         $status = 0;
74
-                    } else {
74
+                    }else {
75 75
                         $status = 1;
76 76
                     }
77 77
                     break;
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 default:
84 84
                     if (!is_object($xoopsUser) || !$xoopsUser->isAdmin()) {
85 85
                         $status = 0;
86
-                    } else {
86
+                    }else {
87 87
                         $status = 1;
88 88
                     }
89 89
                     break;
@@ -92,14 +92,14 @@  discard block
 block discarded – undo
92 92
             $blog_obj->setVar('blog_status', $status);
93 93
         }
94 94
 
95
-        $blog_obj->setVar('blog_title', Request::getString('blog_title', '', 'POST'));//$_POST['blog_title']);
96
-        $blog_obj->setVar('blog_desc', Request::getString('blog_desc', '', 'POST'));//$_POST['blog_desc']);
97
-        $blog_obj->setVar('blog_image', Request::getString('blog_image', '', 'POST'));//$_POST['blog_image']);
98
-        $blog_obj->setVar('blog_feed', Request::getText('blog_feed', '', 'POST'));//$_POST['blog_feed']);
99
-        $blog_obj->setVar('blog_link', Request::getString('blog_link', '', 'POST'));//$_POST['blog_link']);
100
-        $blog_obj->setVar('blog_language', Request::getString('blog_language', '', 'POST'));//$_POST['blog_language']);
101
-        $blog_obj->setVar('blog_charset', Request::getString('blog_charset', '', 'POST'));//$_POST['blog_charset']);
102
-        $blog_obj->setVar('blog_trackback', Request::getString('blog_trackback', '', 'POST'));//$_POST['blog_trackback']);
95
+        $blog_obj->setVar('blog_title', Request::getString('blog_title', '', 'POST')); //$_POST['blog_title']);
96
+        $blog_obj->setVar('blog_desc', Request::getString('blog_desc', '', 'POST')); //$_POST['blog_desc']);
97
+        $blog_obj->setVar('blog_image', Request::getString('blog_image', '', 'POST')); //$_POST['blog_image']);
98
+        $blog_obj->setVar('blog_feed', Request::getText('blog_feed', '', 'POST')); //$_POST['blog_feed']);
99
+        $blog_obj->setVar('blog_link', Request::getString('blog_link', '', 'POST')); //$_POST['blog_link']);
100
+        $blog_obj->setVar('blog_language', Request::getString('blog_language', '', 'POST')); //$_POST['blog_language']);
101
+        $blog_obj->setVar('blog_charset', Request::getString('blog_charset', '', 'POST')); //$_POST['blog_charset']);
102
+        $blog_obj->setVar('blog_trackback', Request::getString('blog_trackback', '', 'POST')); //$_POST['blog_trackback']);
103 103
         if ($blog_obj->isNew()) {
104 104
             $blog_obj->setVar('blog_submitter', is_object($xoopsUser) ? $xoopsUser->getVar('uid') : PlanetUtility::planetGetIP(true));
105 105
         }
@@ -110,10 +110,10 @@  discard block
 block discarded – undo
110 110
             if (in_array(0, $_POST['categories'])) {
111 111
                 $_POST['categories'] = array();
112 112
             }
113
-            $blogHandler->setCategories($blog_id, Request::getString('andor', '', 'POST'));//$_POST['categories']);
113
+            $blogHandler->setCategories($blog_id, Request::getString('andor', '', 'POST')); //$_POST['categories']);
114 114
         }
115 115
         $message = planet_constant('MD_DBUPDATED');
116
-        redirect_header('index.php' . URL_DELIMITER . 'b' . $blog_id, 2, $message);
116
+        redirect_header('index.php'.URL_DELIMITER.'b'.$blog_id, 2, $message);
117 117
 
118 118
     /* edit a single blog */
119 119
     case 'edit':
@@ -121,14 +121,14 @@  discard block
 block discarded – undo
121 121
         if (!empty(Request::getString('fetch', '', 'POST'))) {
122 122
             $blog_obj = $blogHandler->fetch(Request::getText('blog_feed', '', 'POST'));
123 123
             $blog_obj->setVar('blog_id', $blog_id);
124
-        } else {
124
+        }else {
125 125
             $blog_obj = $blogHandler->get($blog_id);
126 126
         }
127
-        $categories = Request::getArray('categories', array(), 'POST');//isset($_POST['categories']) ? $_POST['categories'] : array();
127
+        $categories = Request::getArray('categories', array(), 'POST'); //isset($_POST['categories']) ? $_POST['categories'] : array();
128 128
         if (in_array('-1', $categories)) {
129 129
             $categories = array();
130 130
         }
131
-        if (empty($categories) && $blog_id > 0) {
131
+        if (empty($categories) && $blog_id>0) {
132 132
             $crit       = new Criteria('bc.blog_id', $blog_id);
133 133
             $categories = array_keys($categoryHandler->getByBlog($crit));
134 134
         }
@@ -136,23 +136,23 @@  discard block
 block discarded – undo
136 136
             $categories = array(0 => _NONE);
137 137
         }
138 138
 
139
-        echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _EDIT . '</legend>';
139
+        echo "<fieldset><legend style='font-weight: bold; color: #900;'>"._EDIT.'</legend>';
140 140
         echo '<br>';
141 141
         if (empty($blog_id) && $blog_obj->getVar('blog_feed')) {
142 142
             $criteria  = new Criteria('blog_feed', $blog_obj->getVar('blog_feed'));
143 143
             $blogs_obj = $blogHandler->getList($criteria);
144
-            if (count($blogs_obj) > 0) {
145
-                echo "<div class=\"errorMsg\">" . planet_constant('MD_BLOGEXISTS');
144
+            if (count($blogs_obj)>0) {
145
+                echo "<div class=\"errorMsg\">".planet_constant('MD_BLOGEXISTS');
146 146
                 foreach (array_keys($blogs_obj) as $bid) {
147
-                    echo "<br><a href=\"" . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php' . URL_DELIMITER . 'b' . $bid . "\" target=\"_blank\">" . $blogs_obj[$bid] . '</a>';
147
+                    echo "<br><a href=\"".XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/index.php'.URL_DELIMITER.'b'.$bid."\" target=\"_blank\">".$blogs_obj[$bid].'</a>';
148 148
                 }
149 149
                 echo '</div>';
150 150
                 unset($blogs_obj, $criteria);
151 151
             }
152 152
         }
153
-        include XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['moddirname'] . '/include/form.blog.php';
153
+        include XOOPS_ROOT_PATH.'/modules/'.$GLOBALS['moddirname'].'/include/form.blog.php';
154 154
         echo '</fieldset>';
155 155
         break;
156 156
 }
157 157
 
158
-include XOOPS_ROOT_PATH . '/footer.php';
158
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
action.rate.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 use Xmf\Request;
28 28
 
29
-include __DIR__ . '/header.php';
29
+include __DIR__.'/header.php';
30 30
 
31 31
 $rate       = Request::getInt('rate', Request::getInt('rate', 0, 'POST'), 'GET'); //(int)(!empty($_POST['rate']) ? $_POST['rate'] : (!empty($_GET['rate']) ? $_GET['rate'] : 0));
32 32
 $article_id = Request::getInt('article', Request::getInt('article', 0, 'POST'), 'GET'); //(int)(!empty($_POST['article']) ? $_POST['article'] : (!empty($_GET['article']) ? $_GET['article'] : 0));
@@ -40,28 +40,28 @@  discard block
 block discarded – undo
40 40
 $blogHandler    = xoops_getModuleHandler('blog', $GLOBALS['moddirname']);
41 41
 if (empty($xoopsModuleConfig['anonymous_rate']) && !is_object($xoopsUser)) {
42 42
     $message = planet_constant('MD_NOACCESS');
43
-} else {
43
+}else {
44 44
     $uid = is_object($xoopsUser) ? $xoopsUser->getVar('uid') : 0;
45 45
     $ip  = PlanetUtility::planetGetIP();
46
-    if ($article_id > 0) {
46
+    if ($article_id>0) {
47 47
         $criteria = new CriteriaCompo(new Criteria('art_id', $article_id));
48
-    } else {
48
+    }else {
49 49
         $criteria = new CriteriaCompo(new Criteria('blog_id', $blog_id));
50 50
     }
51
-    if ($uid > 0) {
51
+    if ($uid>0) {
52 52
         $criteria->add(new Criteria('rate_uid', $uid));
53
-    } else {
53
+    }else {
54 54
         $criteria->add(new Criteria('rate_ip', $ip));
55
-        $criteria->add(new Criteria('rate_time', time() - 24 * 3600, '>'));
55
+        $criteria->add(new Criteria('rate_time', time()-24*3600, '>'));
56 56
     }
57 57
     $rateHandler = xoops_getModuleHandler('rate', $GLOBALS['moddirname']);
58 58
     if ($count = $rateHandler->getCount($criteria)) {
59 59
         $message = planet_constant('MD_ALREADYRATED');
60
-    } else {
60
+    }else {
61 61
         $rate_obj = $rateHandler->create();
62
-        if ($article_id > 0) {
62
+        if ($article_id>0) {
63 63
             $rate_obj->setVar('art_id', $article_id);
64
-        } else {
64
+        }else {
65 65
             $rate_obj->setVar('blog_id', $blog_id);
66 66
         }
67 67
         $rate_obj->setVar('rate_uid', $uid);
@@ -71,23 +71,23 @@  discard block
 block discarded – undo
71 71
         if (!$rate_id = $rateHandler->insert($rate_obj, true)) {
72 72
             redirect_header('javascript:history.go(-1);', 1, planet_constant('MD_NOTSAVED'));
73 73
         }
74
-        if ($article_id > 0) {
74
+        if ($article_id>0) {
75 75
             $article_obj = $articleHandler->get($article_id);
76
-            $article_obj->setVar('art_rating', $article_obj->getVar('art_rating') + $rate);
77
-            $article_obj->setVar('art_rates', $article_obj->getVar('art_rates') + 1);
76
+            $article_obj->setVar('art_rating', $article_obj->getVar('art_rating')+$rate);
77
+            $article_obj->setVar('art_rates', $article_obj->getVar('art_rates')+1);
78 78
             $articleHandler->insert($article_obj, true);
79
-        } else {
79
+        }else {
80 80
             $blog_obj = $blogHandler->get($blog_id);
81
-            $blog_obj->setVar('blog_rating', $blog_obj->getVar('blog_rating') + $rate);
82
-            $blog_obj->setVar('blog_rates', $blog_obj->getVar('blog_rates') + 1);
81
+            $blog_obj->setVar('blog_rating', $blog_obj->getVar('blog_rating')+$rate);
82
+            $blog_obj->setVar('blog_rates', $blog_obj->getVar('blog_rates')+1);
83 83
             $blogHandler->insert($blog_obj, true);
84 84
         }
85 85
         $message = planet_constant('MD_ACTIONDONE');
86 86
     }
87 87
 }
88
-if ($article_id > 0) {
89
-    redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.article.php' . URL_DELIMITER . '' . $article_id, 2, $message);
90
-} else {
91
-    redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php' . URL_DELIMITER . 'b' . $blog_id, 2, $message);
88
+if ($article_id>0) {
89
+    redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/view.article.php'.URL_DELIMITER.''.$article_id, 2, $message);
90
+}else {
91
+    redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/index.php'.URL_DELIMITER.'b'.$blog_id, 2, $message);
92 92
 }
93
-include __DIR__ . '/footer.php';
93
+include __DIR__.'/footer.php';
Please login to merge, or discard this patch.
include/functions.ini.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             if (isset($GLOBALS['xoopsModuleConfig'])) {
81 81
                 $moduleConfig = $GLOBALS['xoopsModuleConfig'];
82 82
             }
83
-        } else {
83
+        }else {
84 84
             /** @var XoopsModuleHandler $moduleHandler */
85 85
             $moduleHandler = xoops_getHandler('module');
86 86
             $module        = $moduleHandler->getByDirname($GLOBALS['moddirname']);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             }
94 94
             unset($configs);
95 95
         }
96
-        if ($customConfig = @include XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['moddirname'] . '/include/plugin.php') {
96
+        if ($customConfig = @include XOOPS_ROOT_PATH.'/modules/'.$GLOBALS['moddirname'].'/include/plugin.php') {
97 97
             $moduleConfig = array_merge($moduleConfig, $customConfig);
98 98
         }
99 99
 
@@ -106,11 +106,11 @@  discard block
 block discarded – undo
106 106
             if (!in_array(URL_DELIMITER, array('?', '/'))) {
107 107
                 die('Exit on security');
108 108
             }
109
-        } else {
109
+        }else {
110 110
             $moduleConfig = planet_load_config();
111 111
             if (empty($moduleConfig['do_urw'])) {
112 112
                 define('URL_DELIMITER', '?');
113
-            } else {
113
+            }else {
114 114
                 define('URL_DELIMITER', '/');
115 115
             }
116 116
         }
Please login to merge, or discard this patch.
include/plugin.transfer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
16 16
 
17
-if (!@require_once XOOPS_ROOT_PATH . '/Frameworks/transfer/transfer.php') {
17
+if (!@require_once XOOPS_ROOT_PATH.'/Frameworks/transfer/transfer.php') {
18 18
     return null;
19 19
 }
20 20
 
Please login to merge, or discard this patch.
include/vars.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     define('PLANET_INI', 1);
30 30
 }
31 31
 
32
-require_once __DIR__ . '/../class/utility.php';
32
+require_once __DIR__.'/../class/utility.php';
33 33
 /*
34 34
  * The prefix for database table name prefix
35 35
  * You can change to any term but be consistent with the table names in /sql/mysql.sql, and be unique , no conflict with other modules
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 $GLOBALS['MOD_DB_PREFIX'] = 'planet';
38 38
 
39 39
 /* You are not supposed to modify following contents */
40
-defined('FRAMEWORKS_ART_FUNCTIONS_INI') || require_once XOOPS_ROOT_PATH . '/Frameworks/art/functions.ini.php';
40
+defined('FRAMEWORKS_ART_FUNCTIONS_INI') || require_once XOOPS_ROOT_PATH.'/Frameworks/art/functions.ini.php';
41 41
 $GLOBALS['moddirname'] = mod_getDirname(__FILE__);
42 42
 
43 43
 /*
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
  * You can change to any term but be capital and unique, no conflict with other modules
52 52
  */
53 53
 $GLOBALS['VAR_PREFIXU'] = strtoupper($GLOBALS['moddirname']);
54
-require_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['moddirname'] . '/include/functions.ini.php';
54
+require_once XOOPS_ROOT_PATH.'/modules/'.$GLOBALS['moddirname'].'/include/functions.ini.php';
55 55
 
56 56
 // include customized variables
57 57
 if (is_object($GLOBALS['xoopsModule']) && $GLOBALS['moddirname'] == $GLOBALS['xoopsModule']->getVar('dirname', 'n')) {
Please login to merge, or discard this patch.
include/action.module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
29 29
 
30
-include __DIR__ . '/vars.php';
30
+include __DIR__.'/vars.php';
31 31
 //mod_loadFunctions('', $GLOBALS['moddirname']);
32 32
 
33 33
 PlanetUtility::planetParseFunction('
Please login to merge, or discard this patch.