Explorar o código

Évite realpath pour problème open_basedir

https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
Alexandre Alapetite %!s(int64=12) %!d(string=hai) anos
pai
achega
f0c8cd8847
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      constants.php

+ 2 - 1
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');