Changed use of active to status
This commit is contained in:
@@ -16,7 +16,7 @@ abstract class lnApp_PWgen {
|
||||
throw new Kohana_Exception('No configuration for host or port (:host/:port)',array(':host'=>Kohana::Config('pwgen.host'),':port'=>Kohana::Config('pwgen.port')));
|
||||
|
||||
$ps = socket_create(AF_INET,SOCK_STREAM,0);
|
||||
if (! socket_connect($ps,Kohana::Config('pwgen.host'),Kohana::Config('pwgen.port')))
|
||||
if (! socket_connect($ps,Kohana::Config('pwgen.host'),Kohana::Config('pwgen.port')))
|
||||
throw new Kohana_Exception('Unable to connect to password server');
|
||||
|
||||
// echo "Reading response:\n\n";
|
||||
|
Reference in New Issue
Block a user