diff options
| author | 2014-08-09 23:29:13 +0200 | |
|---|---|---|
| committer | 2014-08-09 23:29:13 +0200 | |
| commit | e7dba0ce7cfaf5e84687593a8b0d58d89fbff302 (patch) | |
| tree | 9c76a28e5994c02502e3293159507775653a3b1a /constants.php | |
| parent | fce624218eb247d7174cdb186026174a8a6e5e8b (diff) | |
Add basic system of update
- Check on update.freshrss.org for new updates
- Download script
- Apply script
- Need translations and verifications
NOTE: current script on server indicates version 0.7.3 is an update
of 0.8-dev ==> IT'S ONLY FOR MY TESTS!
Script just does a backup of ./data actually...
See https://github.com/marienfressinaud/FreshRSS/issues/411
Diffstat (limited to 'constants.php')
| -rw-r--r-- | constants.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/constants.php b/constants.php index e32b8cbc3..a968b82f4 100644 --- a/constants.php +++ b/constants.php @@ -1,6 +1,7 @@ <?php define('FRESHRSS_VERSION', '0.8-dev'); define('FRESHRSS_WEBSITE', 'http://freshrss.org'); +define('FRESHRSS_UPDATE_WEBSITE', 'http://update.freshrss.org?v=' . FRESHRSS_VERSION); // PHP text output compression http://php.net/ob_gzhandler (better to do it at Web server level) define('PHP_COMPRESSION', false); @@ -13,6 +14,7 @@ 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'); |
