constants.php 693 B

12345678910111213141516171819202122
  1. <?php
  2. define('FRESHRSS_VERSION', '0.8-dev');
  3. define('FRESHRSS_WEBSITE', 'http://freshrss.org');
  4. // PHP text output compression http://php.net/ob_gzhandler (better to do it at Web server level)
  5. define('PHP_COMPRESSION', false);
  6. // Constantes de chemins
  7. define('FRESHRSS_PATH', dirname(__FILE__));
  8. define('PUBLIC_PATH', FRESHRSS_PATH . '/p');
  9. define('INDEX_PATH', PUBLIC_PATH . '/i');
  10. define('PUBLIC_RELATIVE', '..');
  11. define('DATA_PATH', FRESHRSS_PATH . '/data');
  12. define('LOG_PATH', DATA_PATH . '/log');
  13. define('CACHE_PATH', DATA_PATH . '/cache');
  14. define('LIB_PATH', FRESHRSS_PATH . '/lib');
  15. define('APP_PATH', FRESHRSS_PATH . '/app');
  16. define('TMP_PATH', sys_get_temp_dir());