From c9d96fdc6c528e0e6df4e738e59033098fc8e6b8 Mon Sep 17 00:00:00 2001 From: Nico Kaiser Date: Tue, 18 Jun 2013 15:53:20 +0200 Subject: [PATCH] Paths --- conf/bind/Dyndns.conf.include | 6 ++---- {htdocs => web}/config.php | 0 {htdocs => web}/index.php | 8 ++++---- {htdocs => web/lib}/Dyndns/Helper.php | 0 {htdocs => web/lib}/Dyndns/Hosts.php | 0 {htdocs => web/lib}/Dyndns/Server.php | 0 {htdocs => web/lib}/Dyndns/Users.php | 0 7 files changed, 6 insertions(+), 8 deletions(-) rename {htdocs => web}/config.php (100%) rename {htdocs => web}/index.php (72%) rename {htdocs => web/lib}/Dyndns/Helper.php (100%) rename {htdocs => web/lib}/Dyndns/Hosts.php (100%) rename {htdocs => web/lib}/Dyndns/Server.php (100%) rename {htdocs => web/lib}/Dyndns/Users.php (100%) diff --git a/conf/bind/Dyndns.conf.include b/conf/bind/Dyndns.conf.include index ce6d33c..a4cf5f2 100644 --- a/conf/bind/Dyndns.conf.include +++ b/conf/bind/Dyndns.conf.include @@ -1,8 +1,6 @@ - key dyndns.example.com. { algorithm HMAC-MD5; - secret "bvZfFHkl16wNGL/LuEUAqvlBeue9lw7C8GkHnQucN6jpKDMjOu29zFR6LlO5YlpN -zYquDBmDSPVddX9SuFIK5A=="; + secret "bvZfFHkl16wNGL/LuEUAqvlBeue9lw7C8GkHnQucN6jpKDMjOu29zFR6LlO5YlpNzYquDBmDSPVddX9SuFIK5A=="; }; zone "dyndns.org" { @@ -11,4 +9,4 @@ zone "dyndns.org" { allow-update { key dyndns.example.com.; }; -}; \ No newline at end of file +}; diff --git a/htdocs/config.php b/web/config.php similarity index 100% rename from htdocs/config.php rename to web/config.php diff --git a/htdocs/index.php b/web/index.php similarity index 72% rename from htdocs/index.php rename to web/index.php index 49a5ff8..1ac33af 100644 --- a/htdocs/index.php +++ b/web/index.php @@ -15,10 +15,10 @@ error_reporting(E_ALL); -require_once __DIR__ . '/Dyndns/Helper.php'; -require_once __DIR__ . '/Dyndns/Hosts.php'; -require_once __DIR__ . '/Dyndns/Users.php'; -require_once __DIR__ . '/Dyndns/Server.php'; +require_once __DIR__ . '/lib/Dyndns/Helper.php'; +require_once __DIR__ . '/lib/Dyndns/Hosts.php'; +require_once __DIR__ . '/lib/Dyndns/Users.php'; +require_once __DIR__ . '/lib/Dyndns/Server.php'; $GLOBALS['dyndns'] = new Dyndns\Server(); $dyndns = $GLOBALS['dyndns']; diff --git a/htdocs/Dyndns/Helper.php b/web/lib/Dyndns/Helper.php similarity index 100% rename from htdocs/Dyndns/Helper.php rename to web/lib/Dyndns/Helper.php diff --git a/htdocs/Dyndns/Hosts.php b/web/lib/Dyndns/Hosts.php similarity index 100% rename from htdocs/Dyndns/Hosts.php rename to web/lib/Dyndns/Hosts.php diff --git a/htdocs/Dyndns/Server.php b/web/lib/Dyndns/Server.php similarity index 100% rename from htdocs/Dyndns/Server.php rename to web/lib/Dyndns/Server.php diff --git a/htdocs/Dyndns/Users.php b/web/lib/Dyndns/Users.php similarity index 100% rename from htdocs/Dyndns/Users.php rename to web/lib/Dyndns/Users.php -- 2.1.4