Ver Fonte

Évite realpath pour problème open_basedir

https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
Alexandre Alapetite há 12 anos atrás
pai
commit
f0c8cd8847
1 ficheiros alterados com 2 adições e 1 exclusões
  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');