@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $server_domain = $opt['page']['domain']; |
20 | 20 | $server_address = $opt['page']['default_absolute_url']; |
21 | 21 | |
22 | - $locHead = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><loc version="1.0" src="' . $server_domain . '">' . "\n"; |
|
22 | + $locHead = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><loc version="1.0" src="'.$server_domain.'">'."\n"; |
|
23 | 23 | |
24 | 24 | $locLine = |
25 | 25 | ' |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | <name id="{waypoint}"><![CDATA[{archivedflag}{name} by {username}]]></name> |
28 | 28 | <coord lat="{lat}" lon="{lon}"/> |
29 | 29 | <type>Geocache</type> |
30 | - <link text="Beschreibung">' . $server_address . 'viewcache.php?cacheid={cacheid}</link> |
|
30 | + <link text="Beschreibung">' . $server_address.'viewcache.php?cacheid={cacheid}</link> |
|
31 | 31 | </waypoint> |
32 | 32 | '; |
33 | 33 | |
@@ -78,11 +78,11 @@ discard block |
||
78 | 78 | |
79 | 79 | if (($r['status'] == 2) || ($r['status'] == 3) || ($r['status'] == 6)) { |
80 | 80 | if ($r['status'] == 2) { |
81 | - $thisline = mb_ereg_replace('{archivedflag}', $state_temporarily_na . '!, ', $thisline); |
|
81 | + $thisline = mb_ereg_replace('{archivedflag}', $state_temporarily_na.'!, ', $thisline); |
|
82 | 82 | } elseif ($r['status'] == 3) { |
83 | - $thisline = mb_ereg_replace('{archivedflag}', $state_archived . '!, ', $thisline); |
|
83 | + $thisline = mb_ereg_replace('{archivedflag}', $state_archived.'!, ', $thisline); |
|
84 | 84 | } else { |
85 | - $thisline = mb_ereg_replace('{archivedflag}', $state_locked . '!, ', $thisline); |
|
85 | + $thisline = mb_ereg_replace('{archivedflag}', $state_locked.'!, ', $thisline); |
|
86 | 86 | } |
87 | 87 | } else { |
88 | 88 | $thisline = mb_ereg_replace('{archivedflag}', '', $thisline); |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $str = ''; |
189 | 189 | |
190 | 190 | ftsearch_load_ignores(); |
191 | - for ($i = count($astr) - 1; $i >= 0; $i --) { |
|
191 | + for ($i = count($astr) - 1; $i >= 0; $i--) { |
|
192 | 192 | // ignore? |
193 | 193 | if (array_search(mb_strtolower($astr[$i]), $ftsearch_ignores) !== false) { |
194 | 194 | unset($astr[$i]); |
@@ -237,11 +237,11 @@ discard block |
||
237 | 237 | } |
238 | 238 | |
239 | 239 | // doppelte chars ersetzen |
240 | - for ($c = ord('a'); $c <= ord('z'); $c ++) { |
|
240 | + for ($c = ord('a'); $c <= ord('z'); $c++) { |
|
241 | 241 | $old_str = ''; |
242 | 242 | while ($old_str != $str) { |
243 | 243 | $old_str = $str; |
244 | - $str = mb_ereg_replace(chr($c) . chr($c), chr($c), $str); |
|
244 | + $str = mb_ereg_replace(chr($c).chr($c), chr($c), $str); |
|
245 | 245 | } |
246 | 246 | $old_str = ''; |
247 | 247 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | LEFT JOIN `caches_attributes` AS `tbloconly` |
25 | 25 | ON `caches`.`cache_id`=`tbloconly`.`cache_id` AND `tbloconly`.`attrib_id`=6 |
26 | 26 | LEFT JOIN `sys_trans_text` `stt` ON `stt`.`trans_id`=`cache_type`.`trans_id` |
27 | - AND `stt`.`lang`=\'' . sql_escape($opt['template']['locale']) . '\''; |
|
27 | + AND `stt`.`lang`=\'' . sql_escape($opt['template']['locale']).'\''; |
|
28 | 28 | |
29 | 29 | |
30 | 30 | function search_output() |
@@ -38,11 +38,11 @@ discard block |
||
38 | 38 | $tpl->menuitem = MNU_CACHES_SEARCH_RESULT; |
39 | 39 | |
40 | 40 | $startat = floor($startat / $caches_per_page) * $caches_per_page; |
41 | - $sql .= ' LIMIT ' . $startat . ', ' . $caches_per_page; |
|
41 | + $sql .= ' LIMIT '.$startat.', '.$caches_per_page; |
|
42 | 42 | |
43 | 43 | // run SQL query |
44 | 44 | sql_enable_foundrows(); |
45 | - $rs_caches = sql_slave("SELECT SQL_BUFFER_RESULT SQL_CALC_FOUND_ROWS " . $sql); |
|
45 | + $rs_caches = sql_slave("SELECT SQL_BUFFER_RESULT SQL_CALC_FOUND_ROWS ".$sql); |
|
46 | 46 | $resultcount = sql_value_slave('SELECT FOUND_ROWS()', 0); |
47 | 47 | sql_foundrows_done(); |
48 | 48 | $tpl->assign('results_count', $resultcount); |
@@ -95,13 +95,13 @@ discard block |
||
95 | 95 | if ($options['sort'] != 'bymylastlog' || !$login->logged_in()) { |
96 | 96 | $ownlogs = ""; |
97 | 97 | } else { |
98 | - $ownlogs = " AND `cache_logs`.`user_id`='" . sql_escape($login->userid) . "'"; |
|
98 | + $ownlogs = " AND `cache_logs`.`user_id`='".sql_escape($login->userid)."'"; |
|
99 | 99 | } |
100 | 100 | $sql = " |
101 | 101 | SELECT `cache_logs`.`id`, `cache_logs`.`type`, `cache_logs`.`date`, `log_types`.`icon_small` |
102 | 102 | FROM `cache_logs`, `log_types` |
103 | - WHERE `cache_logs`.`cache_id`='" . sql_escape($rCache['cache_id']) . "' |
|
104 | - AND `log_types`.`id`=`cache_logs`.`type`" . $ownlogs . " |
|
103 | + WHERE `cache_logs`.`cache_id`='" . sql_escape($rCache['cache_id'])."' |
|
104 | + AND `log_types`.`id`=`cache_logs`.`type`" . $ownlogs." |
|
105 | 105 | ORDER BY `cache_logs`.`order_date` DESC, `cache_logs`.`date_created` DESC, `cache_logs`.`id` DESC |
106 | 106 | LIMIT 6"; |
107 | 107 | $rs = sql_slave($sql); |
@@ -138,12 +138,12 @@ discard block |
||
138 | 138 | |
139 | 139 | $tpl->assign('caches', $caches); |
140 | 140 | |
141 | - $page = 'search.php?queryid=' . $options['queryid'] . '&startat={offset}&sortby=' . $options['sort']; |
|
141 | + $page = 'search.php?queryid='.$options['queryid'].'&startat={offset}&sortby='.$options['sort']; |
|
142 | 142 | if (isset($options['sortorder']) && $options['sortorder']) { |
143 | - $page .= "&sortorder=" . $options['sortorder']; |
|
143 | + $page .= "&sortorder=".$options['sortorder']; |
|
144 | 144 | } |
145 | 145 | if (isset($options['creationdate']) && $options['creationdate']) { |
146 | - $page .= "&creationdate=" . $options['creationdate']; |
|
146 | + $page .= "&creationdate=".$options['creationdate']; |
|
147 | 147 | } |
148 | 148 | $pager = new pager($page, 2, 9); |
149 | 149 | $pager->make_from_offset($startat, $resultcount, $caches_per_page); |
@@ -35,13 +35,13 @@ discard block |
||
35 | 35 | <status id=\"{statusid}\">{status}</status> |
36 | 36 | <lon value=\"{lonvalue}\">{lon}</lon> |
37 | 37 | <lat value=\"{latvalue}\">{lat}</lat> |
38 | - <distance unit=\"" . $distance_unit . "\">{distance}</distance> |
|
38 | + <distance unit=\"" . $distance_unit."\">{distance}</distance> |
|
39 | 39 | <type id=\"{typeid}\">{type}</type> |
40 | 40 | <difficulty>{difficulty}</difficulty> |
41 | 41 | <terrain>{terrain}</terrain> |
42 | 42 | <size id=\"{sizeid}\">{container}</size> |
43 | 43 | <country id=\"{countryid}\">{country}</country> |
44 | - <link><![CDATA[" . $opt['page']['default_absolute_url'] . "viewcache.php?wp={waypoint}]]></link> |
|
44 | + <link><![CDATA[" . $opt['page']['default_absolute_url']."viewcache.php?wp={waypoint}]]></link> |
|
45 | 45 | <desc><![CDATA[{shortdesc}]]></desc> |
46 | 46 | <hints><![CDATA[{hints}]]></hints> |
47 | 47 | </cache> |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | // create temporary table |
51 | 51 | sql_temp_table_slave('searchtmp'); |
52 | - sql_slave('CREATE TEMPORARY TABLE &searchtmp SELECT SQL_BUFFER_RESULT SQL_CALC_FOUND_ROWS ' . $sql . $sqlLimit); |
|
52 | + sql_slave('CREATE TEMPORARY TABLE &searchtmp SELECT SQL_BUFFER_RESULT SQL_CALC_FOUND_ROWS '.$sql.$sqlLimit); |
|
53 | 53 | |
54 | 54 | $resultcount = sql_value_slave('SELECT FOUND_ROWS()', 0); |
55 | 55 | |
@@ -59,17 +59,17 @@ discard block |
||
59 | 59 | |
60 | 60 | // start output |
61 | 61 | if (!$db['debug']) { |
62 | - header("Content-type: application/xml; charset=" . $encoding); |
|
62 | + header("Content-type: application/xml; charset=".$encoding); |
|
63 | 63 | //header("Content-Disposition: attachment; filename=" . $sFilebasename . ".txt"); |
64 | 64 | |
65 | - echo "<?xml version=\"1.0\" encoding=\"" . $encoding . "\"?>\n"; |
|
65 | + echo "<?xml version=\"1.0\" encoding=\"".$encoding."\"?>\n"; |
|
66 | 66 | echo "<result>\n"; |
67 | 67 | |
68 | 68 | echo " <docinfo>\n"; |
69 | - echo " <results>" . $rCount['count'] . "</results>\n"; |
|
70 | - echo " <startat>" . $startat . "</startat>\n"; |
|
71 | - echo " <perpage>" . $count . "</perpage>\n"; |
|
72 | - echo " <total>" . $resultcount . "</total>\n"; |
|
69 | + echo " <results>".$rCount['count']."</results>\n"; |
|
70 | + echo " <startat>".$startat."</startat>\n"; |
|
71 | + echo " <perpage>".$count."</perpage>\n"; |
|
72 | + echo " <total>".$resultcount."</total>\n"; |
|
73 | 73 | echo " </docinfo>\n"; |
74 | 74 | } |
75 | 75 |
@@ -156,8 +156,8 @@ discard block |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | // doppelte chars ersetzen |
159 | - for ($c = ord('a'); $c <= ord('z'); $c ++) { |
|
160 | - $str = mb_ereg_replace(chr($c) . chr($c), chr($c), $str); |
|
159 | + for ($c = ord('a'); $c <= ord('z'); $c++) { |
|
160 | + $str = mb_ereg_replace(chr($c).chr($c), chr($c), $str); |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | return $str; |
@@ -257,14 +257,14 @@ discard block |
||
257 | 257 | { |
258 | 258 | global $opt; |
259 | 259 | |
260 | - $desclangs = ',' . $rCache['desc_languages'] . ','; |
|
260 | + $desclangs = ','.$rCache['desc_languages'].','; |
|
261 | 261 | $desclang = $rCache['desc_language']; |
262 | 262 | |
263 | - if (strpos($desclangs, ',' . $opt['template']['locale'] . ',') !== false) { |
|
263 | + if (strpos($desclangs, ','.$opt['template']['locale'].',') !== false) { |
|
264 | 264 | $desclang = $opt['template']['locale']; |
265 | - } elseif (strpos($desclangs, ',' . $opt['template']['default']['locale'] . ',') !== false) { |
|
265 | + } elseif (strpos($desclangs, ','.$opt['template']['default']['locale'].',') !== false) { |
|
266 | 266 | $desclang = $opt['template']['default']['locale']; |
267 | - } elseif (strpos($desclangs, ',' . $opt['template']['default']['fallback_locale'] . ',') !== false) { |
|
267 | + } elseif (strpos($desclangs, ','.$opt['template']['default']['fallback_locale'].',') !== false) { |
|
268 | 268 | $desclang = $opt['template']['default']['fallback_locale']; |
269 | 269 | } elseif (strpos($desclangs, ',EN,') !== false) { |
270 | 270 | $desclang = 'EN'; |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | $tpl->error(ERROR_INVALID_OPERATION); |
13 | 13 | } |
14 | 14 | |
15 | -$sqlchecksum = sprintf('%u', crc32($cachesFilter . "\n" . $sqlFilter)); |
|
15 | +$sqlchecksum = sprintf('%u', crc32($cachesFilter."\n".$sqlFilter)); |
|
16 | 16 | |
17 | 17 | // check if query was already executed within the cache period |
18 | 18 | $rsMapCache = sql( |
@@ -28,12 +28,12 @@ discard block |
||
28 | 28 | ); |
29 | 29 | if ($rMapCache = sql_fetch_assoc($rsMapCache)) { |
30 | 30 | $resultId = $rMapCache['result_id']; |
31 | - sql("UPDATE `map2_result` SET `shared_counter`=`shared_counter`+1 WHERE `result_id`='" . ($resultId + 0) . "'"); |
|
31 | + sql("UPDATE `map2_result` SET `shared_counter`=`shared_counter`+1 WHERE `result_id`='".($resultId + 0)."'"); |
|
32 | 32 | } else { |
33 | 33 | // ensure that query is performed without errors before reserving the result_id |
34 | 34 | sql_temp_table_slave('tmpmapresult'); |
35 | 35 | sql_slave("CREATE TEMPORARY TABLE &tmpmapresult (`cache_id` INT UNSIGNED NOT NULL, PRIMARY KEY (`cache_id`)) ENGINE=MEMORY"); |
36 | - sql_slave("INSERT INTO &tmpmapresult (`cache_id`) " . $sqlFilter); |
|
36 | + sql_slave("INSERT INTO &tmpmapresult (`cache_id`) ".$sqlFilter); |
|
37 | 37 | |
38 | 38 | sql( |
39 | 39 | " |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | VALUES ('&1', '&2', '&3', NOW(), NOW())", |
42 | 42 | $db['slave_id'], |
43 | 43 | $sqlchecksum, |
44 | - $cachesFilter . "\n" . $sqlFilter |
|
44 | + $cachesFilter."\n".$sqlFilter |
|
45 | 45 | ); |
46 | 46 | $resultId = sql_insert_id(); |
47 | 47 | |
@@ -74,11 +74,11 @@ discard block |
||
74 | 74 | $rBounds['lon_min'] -= $halfwin; |
75 | 75 | $rBounds['lon_max'] += $halfwin; |
76 | 76 | } |
77 | - $bounds_param = "&lat_min=" . round($rBounds['lat_min'], 5) . "&lat_max=" . round($rBounds['lat_max'], 5) . '&lon_min=' . round($rBounds['lon_min'], 5) . '&lon_max=' . round($rBounds['lon_max'], 5); |
|
77 | + $bounds_param = "&lat_min=".round($rBounds['lat_min'], 5)."&lat_max=".round($rBounds['lat_max'], 5).'&lon_min='.round($rBounds['lon_min'], 5).'&lon_max='.round($rBounds['lon_max'], 5); |
|
78 | 78 | } |
79 | 79 | sql_free_result($rs); |
80 | 80 | |
81 | - $tpl->redirect('map2.php?queryid=' . $options['queryid'] . '&resultid=' . $resultId . $bounds_param); |
|
81 | + $tpl->redirect('map2.php?queryid='.$options['queryid'].'&resultid='.$resultId.$bounds_param); |
|
82 | 82 | } else { |
83 | 83 | echo $resultId; |
84 | 84 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | * OVL search output for TOP25, TOP50 etc. |
8 | 8 | ****************************************************************************/ |
9 | 9 | |
10 | -require_once $opt['rootpath'] . 'lib2/charset.inc.php'; |
|
10 | +require_once $opt['rootpath'].'lib2/charset.inc.php'; |
|
11 | 11 | |
12 | 12 | $search_output_file_download = true; |
13 | 13 | $content_type_plain = 'application/ovl'; |
@@ -11,30 +11,30 @@ |
||
11 | 11 | { |
12 | 12 | public function out($str) |
13 | 13 | { |
14 | - echo $str . "\n"; |
|
14 | + echo $str."\n"; |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | public function debug($str) |
18 | 18 | { |
19 | 19 | global $opt; |
20 | 20 | if (($opt['debug'] & DEBUG_CLI) == DEBUG_CLI) { |
21 | - echo 'DEBUG: ' . $str . "\n"; |
|
21 | + echo 'DEBUG: '.$str."\n"; |
|
22 | 22 | } |
23 | 23 | } |
24 | 24 | |
25 | 25 | public function warn($str) |
26 | 26 | { |
27 | - echo 'WARN: ' . $str . "\n"; |
|
27 | + echo 'WARN: '.$str."\n"; |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | public function error($str) |
31 | 31 | { |
32 | - echo 'ERROR: ' . $str . "\n"; |
|
32 | + echo 'ERROR: '.$str."\n"; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function fatal($str) |
36 | 36 | { |
37 | - echo 'FATAL: ' . $str . "\n"; |
|
37 | + echo 'FATAL: '.$str."\n"; |
|
38 | 38 | exit; |
39 | 39 | } |
40 | 40 | } |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * Unicode Reminder メモ |
6 | 6 | ***************************************************************************/ |
7 | 7 | |
8 | -require_once $opt['rootpath'] . 'lib2/translate.class.php'; |
|
8 | +require_once $opt['rootpath'].'lib2/translate.class.php'; |
|
9 | 9 | |
10 | 10 | define('AUTH_LEVEL_ALL', 0); |
11 | 11 | define('AUTH_LEVEL_ADMIN', '2'); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | global $opt, $login, $build_map_towns_menu; |
24 | 24 | |
25 | - $this->sMenuFilename = $opt['rootpath'] . 'cache2/menu-' . $opt['template']['locale'] . '.inc.php'; |
|
25 | + $this->sMenuFilename = $opt['rootpath'].'cache2/menu-'.$opt['template']['locale'].'.inc.php'; |
|
26 | 26 | |
27 | 27 | if (!file_exists($this->sMenuFilename)) { |
28 | 28 | $this->CreateCacheFile(); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | // add country-dependent town list for small map |
35 | 35 | $country = $login->getUserCountry(); |
36 | 36 | if ($opt['map']['towns']['enable'] && |
37 | - isset($build_map_towns_menu) && $build_map_towns_menu && // optimization |
|
37 | + isset($build_map_towns_menu) && $build_map_towns_menu && // optimization |
|
38 | 38 | isset($opt['map']['towns'][$country]['enable']) && $opt['map']['towns'][$country]['enable'] |
39 | 39 | ) { |
40 | 40 | $rsTowns = sqlf( |
@@ -67,13 +67,13 @@ discard block |
||
67 | 67 | 'title' => $rTown['name'], |
68 | 68 | 'menustring' => $rTown['name'], |
69 | 69 | 'authlevel' => 0, |
70 | - 'href' => 'map2.php?mode=normalscreen&lat=' . $rTown['coord_lat'] . '&lon=' . $rTown['coord_long'] . '&zoom=' . $zoom, |
|
70 | + 'href' => 'map2.php?mode=normalscreen&lat='.$rTown['coord_lat'].'&lon='.$rTown['coord_long'].'&zoom='.$zoom, |
|
71 | 71 | 'visible' => 1, |
72 | 72 | 'sublevel' => 1, |
73 | 73 | 'parent' => MNU_MAP |
74 | 74 | ]; |
75 | 75 | $menuitem[MNU_MAP]['subitems'][] = $menu_map; |
76 | - ++ $menu_map; |
|
76 | + ++$menu_map; |
|
77 | 77 | } |
78 | 78 | } |
79 | 79 | } |
@@ -85,12 +85,12 @@ discard block |
||
85 | 85 | |
86 | 86 | $f = fopen($this->sMenuFilename, 'w'); |
87 | 87 | fwrite($f, "<?php\n"); |
88 | - fwrite($f, 'global $menuitem;' . "\n"); |
|
88 | + fwrite($f, 'global $menuitem;'."\n"); |
|
89 | 89 | fwrite($f, "\n"); |
90 | 90 | |
91 | 91 | $rsDefines = sqlf("SELECT `id`, `id_string` FROM `sys_menu`"); |
92 | 92 | while ($rDefine = sql_fetch_assoc($rsDefines)) { |
93 | - fwrite($f, 'if (!defined(\'' . addslashes($rDefine['id_string']) . '\')) define(\'' . addslashes($rDefine['id_string']) . '\', ' . $rDefine['id'] . ");\n"); |
|
93 | + fwrite($f, 'if (!defined(\''.addslashes($rDefine['id_string']).'\')) define(\''.addslashes($rDefine['id_string']).'\', '.$rDefine['id'].");\n"); |
|
94 | 94 | } |
95 | 95 | sql_free_result($rsDefines); |
96 | 96 | fwrite($f, "\n"); |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | $rsSubmenu = sqlf("SELECT `id` FROM `sys_menu` WHERE `parent`=0 ORDER BY `parent` ASC, `position` ASC"); |
101 | 101 | while ($rSubmenu = sql_fetch_assoc($rsSubmenu)) { |
102 | 102 | $aMenu[MNU_ROOT]['subitems'][$nPos] = $rSubmenu['id']; |
103 | - $nPos ++; |
|
103 | + $nPos++; |
|
104 | 104 | } |
105 | 105 | sql_free_result($rsSubmenu); |
106 | 106 | fwrite($f, "\n"); |
@@ -137,13 +137,13 @@ discard block |
||
137 | 137 | ); |
138 | 138 | while ($rSubmenu = sql_fetch_assoc($rsSubmenu)) { |
139 | 139 | $aMenu[$r['id']]['subitems'][$nPos] = $rSubmenu['id']; |
140 | - $nPos ++; |
|
140 | + $nPos++; |
|
141 | 141 | } |
142 | 142 | sql_free_result($rsSubmenu); |
143 | 143 | } |
144 | 144 | sql_free_result($rs); |
145 | 145 | |
146 | - fwrite($f, '$menuitem = unserialize("' . str_replace('"', '\\"', serialize($aMenu)) . '");' . "\n"); |
|
146 | + fwrite($f, '$menuitem = unserialize("'.str_replace('"', '\\"', serialize($aMenu)).'");'."\n"); |
|
147 | 147 | |
148 | 148 | fwrite($f, "?>"); |
149 | 149 | fclose($f); |
@@ -153,12 +153,12 @@ discard block |
||
153 | 153 | { |
154 | 154 | global $opt; |
155 | 155 | |
156 | - $dir = $opt['rootpath'] . 'cache2/'; |
|
156 | + $dir = $opt['rootpath'].'cache2/'; |
|
157 | 157 | if ($dh = opendir($dir)) { |
158 | 158 | while (($file = readdir($dh)) !== false) { |
159 | - if (filetype($dir . $file) == 'file') { |
|
159 | + if (filetype($dir.$file) == 'file') { |
|
160 | 160 | if (preg_match('/^menu-[a-z]{2,2}.inc.php/', $file)) { |
161 | - unlink($dir . $file); |
|
161 | + unlink($dir.$file); |
|
162 | 162 | } |
163 | 163 | } |
164 | 164 | } |