Premier commit
This commit is contained in:
14
modules/site/controllers/DefaultController.php
Normal file
14
modules/site/controllers/DefaultController.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace app\modules\site\controllers;
|
||||
|
||||
use Throwable;
|
||||
|
||||
class DefaultController extends \Piko\Controller
|
||||
{
|
||||
public function errorAction(Throwable $exception)
|
||||
{
|
||||
return $this->render('error', [
|
||||
'exception' => $exception
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user