jaxon-php / jaxon-examples

Examples demonstrating the Jaxon library usage https://www.jaxon-php.org.
5 stars 8 forks source link

Add mention of the /templates/cache folder? #1

Closed zigmoo closed 8 years ago

zigmoo commented 8 years ago

Hi Thierry,

In the README.md file, would it be a good idea to modify the line:

Configure your web server to give access to the directory. You can then open any php example file in a browser.

... with an explicit mention about the need for the missing ajax-core/templates/cache directory? Suggested change:

Configure your web server to give access to the lagdo/xajax-core directory. Make sure your web server has proper permissions to create the ajax-core/templates/cache directory, or the examples will appear to fail! sudo chown www-data vendor/lagdo/xajax-core/templates/cache; sudo chmod u+w vendor/lagdo/xajax-core/templates/cache; You can then open any php example file in a browser.

If this folder isn't created, the examples silently fail to work, which might put some people off from using Xajax!