Просмотр исходного кода

Évite realpath pour problème open_basedir

https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
Alexandre Alapetite 12 лет назад
Родитель
Сommit
f0c8cd8847
1 измененных файлов с 2 добавлено и 1 удалено
  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');