define.php 455 B

123456789101112131415161718192021
  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_BIG', LYCHEE . 'uploads/big/');
  12. define('LYCHEE_UPLOADS_THUMB', LYCHEE . 'uploads/thumb/');
  13. define('LYCHEE_UPLOADS_IMPORT', LYCHEE . 'uploads/import/');
  14. # Define files
  15. define('LYCHEE_CONFIG_FILE', LYCHEE_DATA . 'config.php');
  16. ?>