delphiki / ColissimoAPI

PHP class taking advantage of the Colissimo's API

Home Page:http://www.lackofinspiration.com/news-3-110-l-api-cachee-de-colissimo.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default ImageDir throws an exception in the constructor before being able to change it via SetImageDir

Niluge-KiWi opened this issue · comments

If default image_dir is not writable, an exception is thrown in the constructor, before being able to change it via SetImageDir.

This makes the homepage example not working.

The image_dir should be a constructor parameter, and no need for SetImageDir.