removed partial sentence
This commit is contained in:
parent
a710473db5
commit
070a8b0563
1 changed files with 0 additions and 2 deletions
|
@ -23,8 +23,6 @@ Now run `composer update` in your console and it will be installed.
|
|||
|
||||
But you can't use it yet. PHP won't know where to find the files for the classes. For this you will need an autoloader, ideally a [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloader. Composer already takes care of this for you, so you only have to add a `require '../vendor/autoload.php';` to your `Bootstrap.php`.
|
||||
|
||||
Now before you start adding the error handler code to the
|
||||
|
||||
**Important:** Never show any errors in your production environment. A stack trace or even just a simple error message can help someone to gain access to your system. Always show a user friendly error page instead and send an email to yourself, write to a log or something similar. So only you can see the errors in the production environment.
|
||||
|
||||
For development that does not make sense though -- you want a nice error page. The solution is to have an environment switch in your code. For now you can just set it to `development`.
|
||||
|
|
Loading…
Reference in a new issue