flammy / fsapi-remote

Example Code how to use the fsapi (Frontier Silicon API for PHP)
GNU General Public License v2.0
8 stars 3 forks source link

check file existance before is_writable #7

Open flammy opened 7 years ago

flammy commented 7 years ago

there is thrown an exeption (config.txt is not writable) if the config.txt does not exist.

This exeption should only be thrown if the file exists.

There should be a new exception e.g. "file could not be written" if adding the new file fails.