some smaller bugfixes
This commit is contained in:
parent
04af93d644
commit
a42f60f8f5
5 changed files with 4 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@
|
|||
.cproject
|
||||
.project
|
||||
.classpath
|
||||
hits.txt
|
||||
include/hits.txt
|
||||
|
|
|
@ -4,7 +4,7 @@ $config['path']['web'] = '';
|
|||
|
||||
$config['db']['host'] = 'localhost';
|
||||
$config['db']['user'] = 'sddns';
|
||||
$config['db']['pw'] = 'vunN2qQGtAPNzC3e';
|
||||
$config['db']['pw'] = 'RjRXDa68hnS5A8mX';
|
||||
$config['db']['db'] = 'st_sddns';
|
||||
$config['db']['tbl']['prefix'] = '';
|
||||
$config['db']['tbl']['records'] = $config['db']['tbl']['prefix'] . 'records';
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
114412
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once 'include/init.php';
|
||||
|
||||
$filter = array('host' => $_REQUEST['host'], 'zone' => $_REQUEST['zone']);
|
||||
$filter = array('host' => @$_REQUEST['host'], 'zone' => @$_REQUEST['zone']);
|
||||
$uris = DBUri::get($db, $filter);
|
||||
|
||||
if (count($uris) == 1) {
|
||||
|
|
2
ip.php
2
ip.php
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
require_once 'include/init.php';
|
||||
$output = Output::start()
|
||||
$output = Output::start();
|
||||
|
||||
$ip = new IpV4($_SERVER['REMOTE_ADDR']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue