some smaller bugfixes

This commit is contained in:
Steffen Vogel 2011-08-11 19:19:51 +02:00
parent 04af93d644
commit a42f60f8f5
5 changed files with 4 additions and 5 deletions

2
.gitignore vendored
View File

@ -2,4 +2,4 @@
.cproject .cproject
.project .project
.classpath .classpath
hits.txt include/hits.txt

View File

@ -4,7 +4,7 @@ $config['path']['web'] = '';
$config['db']['host'] = 'localhost'; $config['db']['host'] = 'localhost';
$config['db']['user'] = 'sddns'; $config['db']['user'] = 'sddns';
$config['db']['pw'] = 'vunN2qQGtAPNzC3e'; $config['db']['pw'] = 'RjRXDa68hnS5A8mX';
$config['db']['db'] = 'st_sddns'; $config['db']['db'] = 'st_sddns';
$config['db']['tbl']['prefix'] = ''; $config['db']['tbl']['prefix'] = '';
$config['db']['tbl']['records'] = $config['db']['tbl']['prefix'] . 'records'; $config['db']['tbl']['records'] = $config['db']['tbl']['prefix'] . 'records';

View File

@ -1 +0,0 @@
114412

View File

@ -2,7 +2,7 @@
require_once 'include/init.php'; 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); $uris = DBUri::get($db, $filter);
if (count($uris) == 1) { if (count($uris) == 1) {

2
ip.php
View File

@ -1,7 +1,7 @@
<?php <?php
require_once 'include/init.php'; require_once 'include/init.php';
$output = Output::start() $output = Output::start();
$ip = new IpV4($_SERVER['REMOTE_ADDR']); $ip = new IpV4($_SERVER['REMOTE_ADDR']);