constants.php 948 B

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