X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/3426456f3f8fcecd88b76f17f645b25969787f05..a20a3a2f4cc0b2bc69e2c9548356920aef2e68d3:/script.php diff --git a/script.php b/script.php index 2cc716b..3f7d2f7 100644 --- a/script.php +++ b/script.php @@ -32,8 +32,6 @@ require(JIRAFEAU_ROOT . 'lib/lang.php'); * Be sure PHP's safe mode is off. */ @set_time_limit(0); -/* Remove errors. */ -@error_reporting(0); if ($_SERVER['REQUEST_METHOD'] == "GET" && count($_GET) == 0) { require(JIRAFEAU_ROOT . 'lib/template/header.php'); @@ -198,7 +196,6 @@ if (isset($_FILES['file']) && is_writable(VAR_FILES) $r = fopen(VAR_FILES . $p . $link['hash'], 'r'); while (!feof($r)) { print fread($r, 1024); - ob_flush(); } fclose($r);