From f0c8cd8847335c0fa1060f6b58e9bb829a8fdd81 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 25 Dec 2013 14:16:48 +0100 Subject: Évite realpath pour problème open_basedir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/marienfressinaud/FreshRSS/issues/331 À tester plus --- constants.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'constants.php') diff --git a/constants.php b/constants.php index d310e8f00..272647947 100644 --- a/constants.php +++ b/constants.php @@ -3,7 +3,8 @@ define('FRESHRSS_VERSION', '0.7-beta2'); define('FRESHRSS_WEBSITE', 'http://freshrss.org'); // Constantes de chemins -define ('FRESHRSS_PATH', realpath (dirname (__FILE__))); +define ('FRESHRSS_PATH', dirname(__FILE__)); + define ('PUBLIC_PATH', FRESHRSS_PATH . '/public'); define ('DATA_PATH', FRESHRSS_PATH . '/data'); define ('LIB_PATH', FRESHRSS_PATH . '/lib'); -- cgit v1.2.3