Skip to content

Commit

Permalink
Merge pull request #12 from adriansuter/patch-slim-use-order
Browse files Browse the repository at this point in the history
Reorder statements
  • Loading branch information
l0gicgate authored Apr 29, 2020
2 parents 05fe25d + 9729617 commit 6cb08f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/slim
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

declare(strict_types=1);

use Slim\Console\Application;

if (file_exists(__DIR__ . '/../../../autoload.php')) {
require __DIR__ . '/../../../autoload.php';
} else {
require __DIR__ . '/../vendor/autoload.php';
}

use Slim\Console\Application;

$app = new Application();
$app->run();

0 comments on commit 6cb08f4

Please sign in to comment.