Skip to content

A free, self-hostable news aggregator…

Évite realpath pour problème open_basedir

Alexandre Alapetitef0c8cd884733
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');