Mercurial > hg > webaudioevaluationtool
diff php/.htaccess @ 2552:a3bcb8b9667d
Added .htaccess to suppress any PHP errors/warnings
author | Nick <nick@dmtlab.bcu.ac.uk> |
---|---|
date | Thu, 08 Dec 2016 13:38:39 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php/.htaccess Thu Dec 08 13:38:39 2016 +0000 @@ -0,0 +1,15 @@ +# supress php errors +php_flag display_startup_errors off +php_flag display_errors off +php_flag html_errors off +php_value docref_root 0 +php_value docref_ext 0 +# enable PHP error logging +php_flag log_errors on +php_value error_log ./error.log +# prevent access to PHP error log +<Files error.log> + Order allow,deny + Deny from all + Satisfy All +</Files>