Skip to content

Commit a526ecd

Browse files
committed
Remove ending ?> php tag to avoid sending output to the browser too early
1 parent d009e73 commit a526ecd

17 files changed

+209
-226
lines changed

calendars/publish.php

-1
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,3 @@ function logmsg($str){
240240
fputs($logfile, $logline, strlen($logline) );
241241
}
242242
}
243-
?>

error.php

-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ function error($error_msg='There was an error processing the request.', $file='N
5757

5858
}
5959

60-
?>

functions/date_functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,4 @@ function match_tz($data){
425425
if (strpos(" $data",$key) > 0) return $key;
426426
}
427427
return $data;
428-
}?>
428+
}

functions/draw_functions.php

-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,3 @@ function bite_str($string, $start, $len, $byte=3){
7575
}
7676
return $str;
7777
}
78-
?>

functions/ical_parser.php

-1
Original file line numberDiff line numberDiff line change
@@ -559,4 +559,3 @@
559559
//print_r($cal_filelist);
560560
//print_r($tz_array);
561561
#print '</pre>';
562-
?>

functions/init.inc.php

-1
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,3 @@ function getmicrotime() {
192192
#echo "cal_displaynames";print_r($cal_displaynames);
193193
#echo "</pre><hr>";
194194

195-
?>

functions/init/sanitize.php

-1
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,3 @@ function sanitizeForWeb($string) {
134134
}
135135
$_COOKIE[$key] = $val;
136136
}
137-
?>

functions/is_daylight.php

-1
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,3 @@ function is_daylight($time, $timezone){
293293
return $dlst;
294294

295295
}
296-
?>

functions/parse/end_vevent.php

-1
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,3 @@
385385
//print_r($cal_filelist);
386386
//print_r($tz_array);
387387
//print '</pre>';
388-
?>

functions/parse/parse_tzs.php

-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@
9292
}
9393
fclose($ifile);
9494

95-
?>

functions/timezones.php

-1
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,3 @@
489489
$tz_array['US/Samoa'] = array('-1100', '-1100');
490490
$tz_array['W-SU'] = array('+0300', '+0400');
491491
$tz_array['WET'] = array('+0000', '+0100');
492-
?>

includes/todo.php

-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,3 @@
6262

6363
$page->output();
6464

65-
?>

languages/english.inc.php

-1
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,3 @@
216216
$lang['l_error_cache'] = 'Unable to write to cache directory. Please check your config.';
217217
$lang['l_prefs_off'] = 'Preferences are disabled on this installation.';
218218

219-
?>

languages/indonesian.inc.php

+208-210
Large diffs are not rendered by default.

languages/russian.inc.php

-1
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,3 @@
207207
$lang['l_error_cantopen'] = 'Не удается открыть календарь.';
208208
$lang['l_error_cache'] = 'Неудается записать данные в каталог с кэшем. Проверьте конфигурацию., пожалуйста.';
209209

210-
?>

lib/HTTP/WebDAV/Tools/_parse_lockinfo.php

-1
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,3 @@ function _endElement($parser, $name)
234234
}
235235
}
236236

237-
?>

lib/HTTP/WebDAV/Tools/_parse_proppatch.php

-1
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,3 @@ function _data($parser, $data) {
211211
}
212212
}
213213

214-
?>

0 commit comments

Comments
 (0)