From: Nico Kaiser Date: Tue, 18 Jun 2013 22:04:16 +0000 (+0200) Subject: Fix public/private X-Git-Tag: v1.0.0~11 X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=a85f1d360159a190f7091318aa11f8735212bdfd;p=Dyndns%2F.git Fix public/private --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/web/lib/Dyndns/Server.php b/web/lib/Dyndns/Server.php index 460aea6..1512aee 100644 --- a/web/lib/Dyndns/Server.php +++ b/web/lib/Dyndns/Server.php @@ -179,7 +179,7 @@ class Server exit; } - private function debug($message) + public function debug($message) { $this->debugBuffer .= @date('M j G:i:s') . ' Dyndns: ' . $message . "\n"; } diff --git a/web/lib/Dyndns/Users.php b/web/lib/Dyndns/Users.php index bd0946c..82ef954 100644 --- a/web/lib/Dyndns/Users.php +++ b/web/lib/Dyndns/Users.php @@ -17,7 +17,7 @@ class Users $this->userFile = $userFile; } - private function checkCredentials($user, $password) + public function checkCredentials($user, $password) { $lines = @file($this->userFile);