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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@
9292
}
9393
fclose($ifile);
9494

95-
?>

0 commit comments

Comments
 (0)