Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for Bug #1543 - wiki requires PHP >= 4.3

  • Loading branch information...
commit c26f300f6d3fb94d710f99dce21c7685f7fe2bd3 1 parent bc1f9c7
skaldrom authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 mod/wiki/ewiki/ewiki.php
View
5 mod/wiki/ewiki/ewiki.php
@@ -278,8 +278,9 @@
ksort($ewiki_plugins["init"]);
if ($pf_a = $ewiki_plugins["init"]) foreach ($pf_a as $pf) {
// Binary Handling starts here
- if(headers_sent($file,$line)) {
- print $file.":".$line."<br>";
+ #### MOODLE CHANGE TO BE COMPATIBLE WITH PHP 4.1
+ if(headers_sent()) {
+ error("Headers already sent");
}
$pf($GLOBALS);
}
Please sign in to comment.
Something went wrong with that request. Please try again.