A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
997 B

13 years ago
  1. <?php
  2. class QImageLabel extends QImageLabelBase {
  3. // If you wish to set a cache for the generated images so that they
  4. // are not dynamically recreated every time, specify a default CacheFolder here.
  5. //
  6. // The Cache Folder is an absolute folder location relative to the root of the
  7. // qcodo application. So for example, if you have the qcodo application installed
  8. // at /var/web/wwwroot/my_application, and if docroot is "/var/web/wwwroot" and if
  9. // you therefore have a subfolder defined as "/my_application", then if you specify
  10. // a CacheFolder of "/text_images", the following will happen:
  11. // * Cached images will be stored at /var/web/wwwroot/my_application/text_images/...
  12. // * Cached images will be accessed by <img src="/my_application/text_images/...">
  13. //
  14. // Remember: CacheFolder *must* have a leading "/" and no trailing "/", and also
  15. // be sure that the webserver process has WRITE access to the CacheFolder, itself.
  16. protected $strCacheFolder = null;
  17. }
  18. ?>