diff options
author | Christian A. Weber | 2017-07-16 17:51:58 +0200 |
---|---|---|
committer | Christian A. Weber | 2017-07-16 17:51:58 +0200 |
commit | 469007ad4be97726412d9ccb502d38a629406653 (patch) | |
tree | 209bc32b6bb9f64b4d248c35da00fdc0ca99a4dd | |
parent | 1cab5c862b4bd27d30b59c72b55152805ab05eaa (diff) | |
download | itools-469007ad4be97726412d9ccb502d38a629406653.tar.gz itools-469007ad4be97726412d9ccb502d38a629406653.tar.bz2 itools-469007ad4be97726412d9ccb502d38a629406653.zip |
don't mix php notices into output
-rwxr-xr-x | convertsyntax.php | 1 |
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"; |