Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
visavi committed Dec 27, 2015
1 parent fb5655e commit c67d84c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
'Utf8' => 'Patchwork\Utf8',
'Curl' => 'Curl\Curl',
];

Dotenv::load(BASEDIR);
Patchwork\Utf8\Bootup::initAll();
AliasLoader::getInstance($aliases)->register();

if (! env('APP_ENV')) Dotenv::load(BASEDIR);

if (env('APP_DEBUG')) {
$whoops = new Whoops\Run;
$whoops->pushHandler(new Whoops\Handler\PrettyPageHandler);
Expand Down

0 comments on commit c67d84c

Please sign in to comment.