Fixes #43

Applying this fix got the log viewer up and running in my dev environment (PHP 5.3.27).

This is really helpful for Laravel development, thank you!