mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #287 characterprofile table design
This commit is contained in:
@@ -135,10 +135,11 @@ if ($config['log_ip']) {
|
||||
}
|
||||
|
||||
// Sub page override system
|
||||
$filename = explode('/', $_SERVER['PHP_SELF']);
|
||||
$filename = $filename[count($filename)-1];
|
||||
$page_filename = str_replace('.php', '', $filename);
|
||||
if ($config['allowSubPages']) {
|
||||
require_once 'layout/sub.php';
|
||||
$filename = explode('/', $_SERVER['PHP_SELF']);
|
||||
$filename = $filename[count($filename)-1];
|
||||
if (isset($subpages) && !empty($subpages)) {
|
||||
foreach ($subpages as $page) {
|
||||
if ($page['override'] && $page['file'] === $filename) {
|
||||
|
Reference in New Issue
Block a user