mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added auth support to pilergetd
This commit is contained in:
@ -64,6 +64,10 @@ class ModelSearchMessage extends Model {
|
||||
|
||||
$l = fgets($sd, 4096);
|
||||
|
||||
fputs($sd, "AUTH " . PILERGETD_PASSWORD . "\r\n");
|
||||
|
||||
$l = fgets($sd, 4096);
|
||||
|
||||
Registry::set('sd', $sd);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user