mirror of
https://github.com/loewexy/pdnsmanager.git
synced 2025-01-16 11:12:20 +01:00
Fixed bug in install.php
This commit is contained in:
parent
f6dd285552
commit
a37a616967
1 changed files with 0 additions and 5 deletions
|
@ -24,11 +24,6 @@ if(file_exists("../config/config-user.php")) {
|
||||||
//Get input
|
//Get input
|
||||||
$input = json_decode(file_get_contents('php://input'));
|
$input = json_decode(file_get_contents('php://input'));
|
||||||
|
|
||||||
if(!isset($input->csrfToken) || $input->csrfToken !== $_SESSION['csrfToken']) {
|
|
||||||
echo "Permission denied!";
|
|
||||||
exit();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Database command
|
//Database command
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE TABLE IF NOT EXISTS domains (
|
CREATE TABLE IF NOT EXISTS domains (
|
||||||
|
|
Loading…
Reference in a new issue