define.php 729 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. ###
  3. # @name Define
  4. # @author Tobias Reich
  5. # @copyright 2014 by Tobias Reich
  6. ###
  7. # Define root
  8. define('LYCHEE', substr(__DIR__, 0, -3));
  9. # Define dirs
  10. define('LYCHEE_DATA', LYCHEE . 'data/');
  11. define('LYCHEE_UPLOADS', LYCHEE . 'uploads/');
  12. define('LYCHEE_UPLOADS_BIG', LYCHEE_UPLOADS . 'big/');
  13. define('LYCHEE_UPLOADS_MEDIUM', LYCHEE_UPLOADS . 'medium/');
  14. define('LYCHEE_UPLOADS_THUMB', LYCHEE_UPLOADS . 'thumb/');
  15. define('LYCHEE_UPLOADS_IMPORT', LYCHEE_UPLOADS . 'import/');
  16. define('LYCHEE_PLUGINS', LYCHEE . 'plugins/');
  17. # Define files
  18. define('LYCHEE_CONFIG_FILE', LYCHEE_DATA . 'config.php');
  19. # Define urls
  20. define('LYCHEE_URL_UPLOADS_THUMB', 'uploads/thumb/');
  21. define('LYCHEE_URL_UPLOADS_BIG', 'uploads/big/');
  22. ?>