summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian A. Weber2017-07-16 17:51:58 +0200
committerChristian A. Weber2017-07-16 17:51:58 +0200
commit469007ad4be97726412d9ccb502d38a629406653 (patch)
tree209bc32b6bb9f64b4d248c35da00fdc0ca99a4dd
parent1cab5c862b4bd27d30b59c72b55152805ab05eaa (diff)
downloaditools-469007ad4be97726412d9ccb502d38a629406653.tar.gz
itools-469007ad4be97726412d9ccb502d38a629406653.tar.bz2
itools-469007ad4be97726412d9ccb502d38a629406653.zip
don't mix php notices into output
-rwxr-xr-xconvertsyntax.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/convertsyntax.php b/convertsyntax.php
index 282b774..ef91c93 100755
--- a/convertsyntax.php
+++ b/convertsyntax.php
@@ -2,6 +2,7 @@
<?php
php_sapi_name() == "cli" or exit("Can only be used from CLI\n");
+error_reporting(error_reporting() & ~E_NOTICE);
ini_set('include_path', dirname(__FILE__) . "/..:" . ini_get('include_path'));
require "itools/itools.lib";