aboutsummaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/constants.php b/constants.php
index 6af1c5738..4c515d121 100644
--- a/constants.php
+++ b/constants.php
@@ -1,6 +1,11 @@
<?php
-define('FRESHRSS_VERSION', '0.7.1');
+define('FRESHRSS_VERSION', '0.8-dev');
define('FRESHRSS_WEBSITE', 'http://freshrss.org');
+define('FRESHRSS_UPDATE_WEBSITE', 'https://update.freshrss.org?v=' . FRESHRSS_VERSION);
+define('FRESHRSS_WIKI', 'http://doc.freshrss.org');
+
+// 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__));
@@ -10,11 +15,11 @@ define('FRESHRSS_PATH', dirname(__FILE__));
define('PUBLIC_RELATIVE', '..');
define('DATA_PATH', FRESHRSS_PATH . '/data');
+ define('UPDATE_FILENAME', DATA_PATH . '/update.php');
define('LOG_PATH', DATA_PATH . '/log');
define('CACHE_PATH', DATA_PATH . '/cache');
define('LIB_PATH', FRESHRSS_PATH . '/lib');
define('APP_PATH', FRESHRSS_PATH . '/app');
-//define('TMP_PATH', sys_get_temp_dir()); // need more tests so...
-define('TMP_PATH', DATA_PATH); // ... we use DATA_PATH for the 0.7.1
+define('TMP_PATH', sys_get_temp_dir());