From c377fccb65df6b6570f2830ca35866d5f774d7dc Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 11 Oct 2014 15:49:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B5=D0=BB=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=B1=D1=83=D0=B4=D1=83=D1=89=D0=B5=D0=B5=20-=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB=D0=BB?= =?UTF-8?q?=D0=B5=D1=80=D0=BE=D0=B2=20=D1=81=20=D0=BA=D0=BE=D0=BD=D1=81?= =?UTF-8?q?=D1=82=D1=80=D1=83=D0=BA=D1=82=D0=BE=D1=80=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/app.php | 6 ++++++ 1 file changed, 6 insertions(+) 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();