aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Request.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-22 17:56:07 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-22 17:56:07 +0100
commit5081ffaf39699398f83be97e47b72444e5bcd5d1 (patch)
treecf07bc40c955510785198ed74bbc931ee209439b /lib/Minz/Request.php
parent69deb27f654a0d5d5e6fe77733d56a9c4fd29e03 (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.php5
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();
}
}