Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jan 30, 2024
1 parent f93bcb0 commit 136659a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpstan-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

require __DIR__ . '/system/libs/pot/InvitesDriver.php';
require __DIR__ . '/system/libs/rfc6238.php';

require __DIR__ . '/common.php';

const ACTION = '';
const PAGE = '';
define('SELF_NAME', basename(__FILE__));
2 changes: 1 addition & 1 deletion system/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
// parse for define PAGE
$tmp = BASE_DIR;
$uri = $_SERVER['REQUEST_URI'];
if (!empty($tmp)) {
if (strlen($tmp) > 0) {
$uri = str_replace(BASE_DIR . '/', '', $uri);
}

Expand Down

0 comments on commit 136659a

Please sign in to comment.