symphonycms/jit_image_manipulation — comment on commit 728adf15c9db31f2453baca6b6888cb318fb956f
File:  line 0
By davidhund:

@brendi I'm afraid it does not work for me.

Locally I get a 500 error (now) regarding `image.php:15` (`DateTimeObj::setSettings($settings['region']);`): *PHP Fatal error: Call to undefined method DateTimeObj::setSettings()*

(This is unrelated to your changes in `class.image.php` but seems a difference with the `master` branch)

On my client's shared host the change did not work and results in the familliar error: `Error loading image . Check it exists and is readable.`

My guess is that occurs because `sys_get_temp_dir()` *does* return a valid path (`/tmp`) but the path is not accessible/writable. `if($dir == false)` is, therefore, not enough. Maybe it should be `if($dir == false or !is_writable($dir))…` ?