Fix #287 characterprofile table design

This commit is contained in:
Znote
2019-03-17 01:38:29 +01:00
parent e8a57cbac3
commit 58e6300cf7
3 changed files with 441 additions and 508 deletions

View File

@@ -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) {