1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 15:59:14 +00:00

regenerate feedbrowser cache from the update daemon

This commit is contained in:
Andrew Dolgov
2009-01-16 12:06:42 +01:00
parent 6c8feb8f12
commit e3b5469373
3 changed files with 20 additions and 33 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/php
<?php
// this script is probably run not from your httpd-user, so cache
// directory defined in config.php won't be accessible
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-cli');
/* This script updates feedbrowser (e.g. Other Feeds tab) cache
* If you are using update daemon, it is NOT necessary to run
* this script, as updates are handled automatically. */
define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
define('DISABLE_SESSIONS', true);