mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 10:49:23 +02:00
parent
d74400da57
commit
855c889568
@ -148,8 +148,8 @@ if ($config['log_ip']) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sub page override system
|
// Sub page override system
|
||||||
$filename = explode('/', $_SERVER['PHP_SELF']);
|
$filename = explode('/', $_SERVER['SCRIPT_NAME']);
|
||||||
$filename = $filename[count($filename)-1];
|
$filename = $filename[count($filename) - 1];
|
||||||
$page_filename = str_replace('.php', '', $filename);
|
$page_filename = str_replace('.php', '', $filename);
|
||||||
if ($config['allowSubPages']) {
|
if ($config['allowSubPages']) {
|
||||||
require_once 'layout/sub.php';
|
require_once 'layout/sub.php';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user