Skip to content

Commit

Permalink
refactor: update entry controller
Browse files Browse the repository at this point in the history
  • Loading branch information
papac committed Jan 20, 2025
1 parent 0165bd3 commit b66a5e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
use Bow\Http\Request;
use Bow\Http\Response;

if (file_exists(__DIR__ . '/../var/storage/maintenance.php')) {
require __DIR__ . '/../var/storage/maintenance.php';
}

// Register The Auto Loader
if (!file_exists(__DIR__ . "/../vendor/autoload.php")) {
die("Please install the dependencies with 'composer update'");
die("Please install the dependencies with 'composer update'");
}

if (file_exists(__DIR__ . '/../var/storage/maintenance.php')) {
require __DIR__ . '/../var/storage/maintenance.php';
}

require __DIR__."/../vendor/autoload.php";
Expand Down

0 comments on commit b66a5e8

Please sign in to comment.