vivid-planet/koala-framework — pull request #126 by nsams (2013-10-27 18:42:32+00:00)
Title: log fatal errors using a shutdown function

like described here: http://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error

additionally set display_errors to false as we output an error message ourself now.
Only do that if error log is enabled (ie on production)