diff options
| author | 2013-12-25 14:16:48 +0100 | |
|---|---|---|
| committer | 2013-12-25 14:16:48 +0100 | |
| commit | f0c8cd8847335c0fa1060f6b58e9bb829a8fdd81 (patch) | |
| tree | 36a43e5c7a805307bf76976622abe1b278bc1dc5 /constants.php | |
| parent | 2e9a5cfb69b726ea1b11b8b5d45a78d38d4e1896 (diff) | |
Évite realpath pour problème open_basedir
https://github.com/marienfressinaud/FreshRSS/issues/331
À tester plus
Diffstat (limited to 'constants.php')
| -rw-r--r-- | constants.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/constants.php b/constants.php index d310e8f00..272647947 100644 --- a/constants.php +++ b/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'); |
