2014-07-23 15:52:50 +02:00
|
|
|
<?php
|
2016-07-24 12:55:45 +02:00
|
|
|
define('FRESHRSS_VERSION', '1.4.0');
|
2014-07-23 15:52:50 +02:00
|
|
|
define('FRESHRSS_WEBSITE', 'http://freshrss.org');
|
2014-09-27 10:10:43 +02:00
|
|
|
define('FRESHRSS_WIKI', 'http://doc.freshrss.org');
|
2014-07-23 15:52:50 +02:00
|
|
|
|
|
|
|
// PHP text output compression http://php.net/ob_gzhandler (better to do it at Web server level)
|
|
|
|
define('PHP_COMPRESSION', false);
|
|
|
|
|
|
|
|
// Constantes de chemins
|
|
|
|
define('FRESHRSS_PATH', dirname(__FILE__));
|
|
|
|
|
|
|
|
define('PUBLIC_PATH', FRESHRSS_PATH . '/p');
|
2015-11-06 16:54:20 +01:00
|
|
|
define('PUBLIC_TO_INDEX_PATH', '/i');
|
|
|
|
define('INDEX_PATH', PUBLIC_PATH . PUBLIC_TO_INDEX_PATH);
|
2014-07-23 15:52:50 +02:00
|
|
|
define('PUBLIC_RELATIVE', '..');
|
|
|
|
|
|
|
|
define('DATA_PATH', FRESHRSS_PATH . '/data');
|
2014-09-27 10:10:43 +02:00
|
|
|
define('UPDATE_FILENAME', DATA_PATH . '/update.php');
|
2015-02-08 18:55:48 +01:00
|
|
|
define('USERS_PATH', DATA_PATH . '/users');
|
2014-07-23 15:52:50 +02:00
|
|
|
define('CACHE_PATH', DATA_PATH . '/cache');
|
2015-11-06 16:54:20 +01:00
|
|
|
define('PSHB_PATH', DATA_PATH . '/PubSubHubbub');
|
2014-07-23 15:52:50 +02:00
|
|
|
|
|
|
|
define('LIB_PATH', FRESHRSS_PATH . '/lib');
|
2015-02-08 18:55:48 +01:00
|
|
|
define('APP_PATH', FRESHRSS_PATH . '/app');
|
|
|
|
define('EXTENSIONS_PATH', FRESHRSS_PATH . '/extensions');
|
2014-07-23 15:52:50 +02:00
|
|
|
|
|
|
|
define('TMP_PATH', sys_get_temp_dir());
|