From 8c81adc8e83969e90b4c54daf4a396b1094134ff Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 31 Aug 2017 17:30:54 +0200 Subject: Implemented container --- public/index.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index b44e1491..c65dbdf8 100644 --- a/public/index.php +++ b/public/index.php @@ -1,7 +1,5 @@ query->get('p'); if (empty($page)) { $page = $request->path(); -- cgit v1.2.3-70-g09d2 From 31414905d710ed53796d67759dec24baf2eeefc7 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 20 Sep 2017 01:29:04 +0200 Subject: Fixed exceptionHandler to catch PdoExceptions, formatting --- .gitignore | 1 + public/.htaccess | 1 + src/Exceptions/Handler.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/.gitignore b/.gitignore index eb3f8939..eb12eae7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ _vimrc_local.vim # Project files /config/config.php /test/coverage +/public/coverage # Composer files /vendor/ diff --git a/public/.htaccess b/public/.htaccess index c9d40187..2b1d3a7a 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,3 +1,4 @@ + RewriteEngine on diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index c4fb639c..95bcd132 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -42,7 +42,7 @@ class Handler /** * @param Throwable $e */ - public function exceptionHandler(Throwable $e) + public function exceptionHandler($e) { $this->handle( 'exception', -- cgit v1.2.3-70-g09d2