novius-os/core — pull request #6 by mvy (2012-11-22 10:17:27+00:00)
Title: Adding system call error check and log

I found myself subject to some error in the `404.php` file. I eventually saw there were no check on `mkdir` system call for `media` when not resized.

Also added calls to `error_log` to actually send the error to the apache log. Seems that the exit message is lost for me (did not saw it anywhere, neither in the back-office nor the logs).