diff options
| author | 2015-05-23 02:23:38 +0200 | |
|---|---|---|
| committer | 2015-05-23 02:23:38 +0200 | |
| commit | 27d2b88a19345dfc665dc086d3c2b2e4547e1b7f (patch) | |
| tree | cbef13dbbfd07b580d12547c70d0440a5fc01e07 /constants.php | |
| parent | 9b69ec4b3194a82f9c3b0d5ee513a2acdcea74eb (diff) | |
Minz getBaseUrl correction and RSS template bug
https://github.com/FreshRSS/FreshRSS/issues/848
Corrections in Minz (HTTP_HOST was not sanitized, getURI() was never
used and not working anyway with absolute base_url)
$this->url was not defined in rss.phtml
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 b20bf0710..d32fdfa9b 100644 --- a/constants.php +++ b/constants.php @@ -11,7 +11,8 @@ define('PHP_COMPRESSION', false); define('FRESHRSS_PATH', dirname(__FILE__)); define('PUBLIC_PATH', FRESHRSS_PATH . '/p'); - define('INDEX_PATH', PUBLIC_PATH . '/i'); + define('PUBLIC_TO_INDEX_PATH', '/i'); + define('INDEX_PATH', PUBLIC_PATH . PUBLIC_TO_INDEX_PATH); define('PUBLIC_RELATIVE', '..'); define('DATA_PATH', FRESHRSS_PATH . '/data'); |
