1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 13:51:28 +00:00

move php executable path for old-style daemon to config.php (bump version) (closes #212)

This commit is contained in:
Andrew Dolgov
2008-07-10 08:54:57 +01:00
parent edd56fe579
commit 64eb624cad
3 changed files with 9 additions and 3 deletions

View File

@@ -11,7 +11,6 @@
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-daemon');
define('DISABLE_SESSIONS', true);
define('PHP_EXECUTABLE', '/usr/bin/php');
require_once "version.php";
@@ -24,6 +23,10 @@
require_once "sanity_check.php";
require_once "config.php";
if (!defined('PHP_EXECUTABLE')) {
define('PHP_EXECUTABLE', '/usr/bin/php');
}
if (!ENABLE_UPDATE_DAEMON) {
die("Please enable option ENABLE_UPDATE_DAEMON in config.php\n");
}