From c5dec2f0006b22aadb6547bc8821245f916cef1c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 13 Jul 2017 11:37:05 +0200 Subject: [PATCH] Adjust templates to work with php71 --- .../etc/e-smith/templates/usr/share/tt-rss/config.php/15directories | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/15directories b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/15directories index d9cdc82..c2be761 100644 --- a/root/etc/e-smith/templates/usr/share/tt-rss/config.php/15directories +++ b/root/etc/e-smith/templates/usr/share/tt-rss/config.php/15directories @@ -1,4 +1,4 @@ - define('SELF_URL_PATH', ''); + define('SELF_URL_PATH', '{ ${'tt-rss'}{'Uri'} || 'https://' . $SystemName . '.' . $DomainName . '/tt-rss' }'); // Full URL of your tt-rss installation. This should be set to the // location of tt-rss directory, e.g. http://yourserver/tt-rss/ // You need to set this option correctly otherwise several features @@ -13,10 +13,10 @@ // Unless you really know what you're doing, please keep those relative // to tt-rss main directory. - define('TMP_DIRECTORY', '/tmp'); + define('TMP_DIRECTORY', '/var/lib/php/tt-rss/tmp71'); // Directory for temporary files - define('PHP_EXECUTABLE', '/usr/bin/php'); + define('PHP_EXECUTABLE', '/usr/bin/php71'); // Path to PHP executable define('LOCK_DIRECTORY', '/var/lock/tt-rss');