mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-11-30 09:26:51 +01:00
Fixed some things
Added $config to enable or disable country flags its on false by default. Also some advice from Znote for securing integer database values. Cleanedup some if statements.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<?php
|
||||
require_once 'engine/init.php';
|
||||
if (user_logged_in() === false) {
|
||||
header('Location: register.php');
|
||||
}
|
||||
protect_page();
|
||||
include 'layout/overall/header.php';
|
||||
|
||||
$view = (isset($_GET['view']) && (int)$_GET['view'] > 0) ? (int)$_GET['view'] : false;
|
||||
|
||||
Reference in New Issue
Block a user