commit aa0c7f70d7f9cd500e944be8cdafba253ed1c908 Author: Arkadiusz MiĆkiewicz <ar...@maven.pl> Date: Fri Mar 9 11:14:35 2018 +0100
Silence php notices. index.php | 5 +++++ 1 file changed, 5 insertions(+) --- diff --git a/index.php b/index.php index 11558cd..357a9f1 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,7 @@ <?php +if (!function_exists("ob_gzhandler")) + die("ob_gzhandler function is missing - install php zlib module"); + ob_start("ob_gzhandler", 1); $buildlogs_server = "buildlogs.pld-linux.org"; $url = "index.php"; @@ -17,6 +20,7 @@ $langs["en_US"]["charset"]="ISO-8859-1"; $langs["pl_PL"]["charset"]="ISO-8859-2"; $lang="en_US"; +$lang_detected=""; if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) { $rows=explode(";",$_SERVER["HTTP_ACCEPT_LANGUAGE"]); @@ -366,6 +370,7 @@ function dump_log($tail) $time = ""; $out_buf = array(); $out_buf_size = 0; + $err_count = 0; while (($s = fgets($fd, 102400)) != false) { $toc_elem = false; ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/projects/buildlogs.git/commitdiff/aa0c7f70d7f9cd500e944be8cdafba253ed1c908 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit