diff --git a/ground/app.php b/ground/app.php index 5ba595b..926cb9d 100644 --- a/ground/app.php +++ b/ground/app.php @@ -76,6 +76,12 @@ class App if (method_exists($controller, $action)) { $controller::$action(); +// if (method_exists($controller, '__construct')) { +// $class = new $controller(); +// $class->$action(); +// } else { +// $controller::$action(); +// } } else { self::error404();