Skip to content

Commit

Permalink
Update Teeny.php
Browse files Browse the repository at this point in the history
  • Loading branch information
brcontainer committed May 11, 2024
1 parent 1896619 commit 7b3e146
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vendor/Teeny.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,11 @@ public function exec()
$callback = null;

if ($code === 200) {
$path = $this->pathInfo;

if ($this->builtIn && $this->fileInBuiltIn()) {
return false;
}

$path = $this->pathInfo;
$method = $_SERVER['REQUEST_METHOD'];

if (isset($this->routes[$path])) {
Expand Down

0 comments on commit 7b3e146

Please sign in to comment.