constants.php 745 B

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