diff options
| author | 2014-03-22 17:56:07 +0100 | |
|---|---|---|
| committer | 2014-03-22 17:56:07 +0100 | |
| commit | 5081ffaf39699398f83be97e47b72444e5bcd5d1 (patch) | |
| tree | cf07bc40c955510785198ed74bbc931ee209439b /lib/Minz/Request.php | |
| parent | 69deb27f654a0d5d5e6fe77733d56a9c4fd29e03 (diff) | |
Minz: remove one layer of ob_ (experimental)
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38351311
https://github.com/marienfressinaud/FreshRSS/issues/163
* Remove Minz_Response (not needed anymore)
* Move Minz_Request::reseted to Minz_Dispatcher::reset()
Diffstat (limited to 'lib/Minz/Request.php')
| -rw-r--r-- | lib/Minz/Request.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php index 282d47a77..7e3c59990 100644 --- a/lib/Minz/Request.php +++ b/lib/Minz/Request.php @@ -15,8 +15,6 @@ class Minz_Request { private static $default_controller_name = 'index'; private static $default_action_name = 'index'; - public static $reseted = true; - /** * Getteurs */ @@ -137,14 +135,13 @@ class Minz_Request { header ('Location: ' . Minz_Url::display ($url, 'php')); exit (); } else { - self::$reseted = true; - self::_controllerName ($url['c']); self::_actionName ($url['a']); self::_params (array_merge ( self::$params, $url['params'] )); + Minz_Dispatcher::reset(); } } |
