mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-12 08:59:20 +02:00
More fixes
This commit is contained in:
parent
f93bcb0557
commit
136659ac9a
@ -5,8 +5,8 @@ $ots = POT::getInstance();
|
||||
|
||||
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__));
|
||||
|
@ -236,7 +236,7 @@ else {
|
||||
// parse for define PAGE
|
||||
$tmp = BASE_DIR;
|
||||
$uri = $_SERVER['REQUEST_URI'];
|
||||
if (!empty($tmp)) {
|
||||
if (strlen($tmp) > 0) {
|
||||
$uri = str_replace(BASE_DIR . '/', '', $uri);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user