mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
Minz: fix absolute URL bug (#2006)
* Fix absolute URL bug https://github.com/FreshRSS/FreshRSS/issues/1946 * Better base_url guess in install.php * Revert changes in install.php
This commit is contained in:
committed by
GitHub
parent
aafb1cd0e4
commit
4e8932d4bb
@@ -139,7 +139,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
|
||||
}
|
||||
|
||||
// No layout for RSS output.
|
||||
$this->view->url = empty($_SERVER['QUERY_STRING']) ? '' : '?' . $_SERVER['QUERY_STRING'];
|
||||
$this->view->url = PUBLIC_TO_INDEX_PATH . '/' . (empty($_SERVER['QUERY_STRING']) ? '' : '?' . $_SERVER['QUERY_STRING']);
|
||||
$this->view->rss_title = FreshRSS_Context::$name . ' | ' . Minz_View::title();
|
||||
$this->view->_useLayout(false);
|
||||
header('Content-Type: application/rss+xml; charset=utf-8');
|
||||
|
||||
Reference in New Issue
Block a user