mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-12 17:09:21 +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/pot/InvitesDriver.php';
|
||||||
require __DIR__ . '/system/libs/rfc6238.php';
|
require __DIR__ . '/system/libs/rfc6238.php';
|
||||||
|
|
||||||
require __DIR__ . '/common.php';
|
require __DIR__ . '/common.php';
|
||||||
|
|
||||||
const ACTION = '';
|
const ACTION = '';
|
||||||
|
const PAGE = '';
|
||||||
define('SELF_NAME', basename(__FILE__));
|
define('SELF_NAME', basename(__FILE__));
|
||||||
|
@ -236,7 +236,7 @@ else {
|
|||||||
// parse for define PAGE
|
// parse for define PAGE
|
||||||
$tmp = BASE_DIR;
|
$tmp = BASE_DIR;
|
||||||
$uri = $_SERVER['REQUEST_URI'];
|
$uri = $_SERVER['REQUEST_URI'];
|
||||||
if (!empty($tmp)) {
|
if (strlen($tmp) > 0) {
|
||||||
$uri = str_replace(BASE_DIR . '/', '', $uri);
|
$uri = str_replace(BASE_DIR . '/', '', $uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user