diff --git a/.gitignore b/.gitignore index c0612ee..9c3a57f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ .cproject .project .classpath -hits.txt +include/hits.txt diff --git a/include/config.php b/include/config.php index adb841e..387580e 100755 --- a/include/config.php +++ b/include/config.php @@ -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'; diff --git a/include/hits.txt b/include/hits.txt deleted file mode 100644 index 52041ca..0000000 --- a/include/hits.txt +++ /dev/null @@ -1 +0,0 @@ -114412 \ No newline at end of file diff --git a/index.php b/index.php index 014635d..d7dfbca 100755 --- a/index.php +++ b/index.php @@ -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) { diff --git a/ip.php b/ip.php index e766248..eac72c2 100755 --- a/ip.php +++ b/ip.php @@ -1,7 +1,7 @@