Explorar el Código

Évite realpath pour problème open_basedir

https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
Alexandre Alapetite hace 12 años
padre
commit
f0c8cd8847
Se han modificado 1 ficheros con 2 adiciones y 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');