symphonists/cacheabledatasource — pull request #7 by jurajkapsz (2014-05-06 12:16:58+00:00)
Title: Checks & restores cache directory on the go (#4)

1. I wrapped the `realiseDirectory()` into a `file_exists()` condition to avoid reading the `config` file everytime the directory check occurs.
2. Altered the error message of restoration fail.
3. Sorry for the empty lines auto trim throughout the source file.

Not sure if these changes are ok / optimal as they are. But tested and it works.