Évite realpath pour problème open_basedir

https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
pull/340/head
Alexandre Alapetite 11 years ago
parent 2e9a5cfb69
commit f0c8cd8847
  1. 3
      constants.php

@ -3,7 +3,8 @@ define('FRESHRSS_VERSION', '0.7-beta2');
define('FRESHRSS_WEBSITE', 'http://freshrss.org'); define('FRESHRSS_WEBSITE', 'http://freshrss.org');
// Constantes de chemins // Constantes de chemins
define ('FRESHRSS_PATH', realpath (dirname (__FILE__))); define ('FRESHRSS_PATH', dirname(__FILE__));
define ('PUBLIC_PATH', FRESHRSS_PATH . '/public'); define ('PUBLIC_PATH', FRESHRSS_PATH . '/public');
define ('DATA_PATH', FRESHRSS_PATH . '/data'); define ('DATA_PATH', FRESHRSS_PATH . '/data');
define ('LIB_PATH', FRESHRSS_PATH . '/lib'); define ('LIB_PATH', FRESHRSS_PATH . '/lib');

Loading…
Cancel
Save