mirror of
https://github.com/jimeh/php-rack.git
synced 2026-02-19 11:56:38 +00:00
created a RackMiddleware class with some default middleware behavior
This commit is contained in:
@@ -192,4 +192,12 @@ class Rack {
|
||||
|
||||
}
|
||||
|
||||
class RackMiddleware {
|
||||
|
||||
public function __construct (&$app) {
|
||||
$this->app =& $app;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user