diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-06-10 13:04:06 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-06-10 13:04:06 +0200 |
commit | 7abe2f10b7f2f4883743e9bf5d4b6811bb9d6bfa (patch) | |
tree | a7bcaa48699acf549052b9f8a967d095a2739fcf /auth | |
parent | e68e1cf3c49efcbfab6810d403ea7eaf3584c2b2 (diff) |
Rewrite of the routers part.
Should be more modular now to add other routers types.
Diffstat (limited to 'auth')
-rw-r--r-- | auth/authentication.php | 2 | ||||
-rw-r--r-- | auth/ssh.php | 2 | ||||
-rw-r--r-- | auth/telnet.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/auth/authentication.php b/auth/authentication.php index 1ec3cb1..7a67fb5 100644 --- a/auth/authentication.php +++ b/auth/authentication.php @@ -49,7 +49,7 @@ abstract class Authentication { return new Telnet($config); default: - 'Unknown authentication mecanism "'.$config['auth'].'"."'; + print 'Unknown authentication mecanism "'.$config['auth'].'"."'; return null; } } diff --git a/auth/ssh.php b/auth/ssh.php index 27bcdaf..07a51d2 100644 --- a/auth/ssh.php +++ b/auth/ssh.php @@ -21,7 +21,7 @@ require_once 'authentication.php'; -class SSH extends Authentication { +final class SSH extends Authentication { private $port; public function __construct($config) { diff --git a/auth/telnet.php b/auth/telnet.php index d2b084a..6e4064e 100644 --- a/auth/telnet.php +++ b/auth/telnet.php @@ -21,7 +21,7 @@ require_once 'authentication.php'; -class Telnet extends Authentication { +final class Telnet extends Authentication { private $port; public function __construct($config) { |