diff --git a/README.md b/README.md index 893aadb..ea7de59 100644 --- a/README.md +++ b/README.md @@ -31,18 +31,19 @@ How you create your own app structure depends on you, or on your team. If your d ```php - /* Redefine your with own defaults here. - * This are just examples, no one is required. */ - - // Set the time the cache is cleaned (Since the image generation) to one month (2592000/60/60/24=30) - define ('FILE_CACHE_MAX_FILE_AGE', 2592000); - // Use the default system cache dir so your project's folder stays clean. - define ('FILE_CACHE_DIRECTORY', sys_get_temp_dir()); - // Quality set to 100% - define ('DEFAULT_Q', 100); - - // Start timthumb. - timthumb::start(); +/* Redefine your with own defaults here. + * This are just examples, no one is required. */ + +// Set the time the cache is cleaned (Since the image generation) to one month (2592000/60/60/24=30) +define ('FILE_CACHE_MAX_FILE_AGE', 2592000); +// Use the default system cache dir so your project's folder stays clean. +define ('FILE_CACHE_DIRECTORY', sys_get_temp_dir()); +// Quality set to 100% +define ('DEFAULT_Q', 100); + +// Start timthumb. +timthumb::start(); + ``` After this is set up, you can use all the parameters shown in the [official documentation](http://binarymoon.co.uk/projects/timthumb).