Fixed bug in install.php

This commit is contained in:
Lukas Metzger 2016-02-02 21:05:37 +01:00
parent f6dd285552
commit a37a616967

View file

@ -24,11 +24,6 @@ if(file_exists("../config/config-user.php")) {
//Get input
$input = json_decode(file_get_contents('php://input'));
if(!isset($input->csrfToken) || $input->csrfToken !== $_SESSION['csrfToken']) {
echo "Permission denied!";
exit();
}
//Database command
$sql = "
CREATE TABLE IF NOT EXISTS domains (