added auth support to pilergetd

This commit is contained in:
SJ
2013-04-09 15:15:59 +02:00
parent 8cf4a1b759
commit 163ebb7c46
5 changed files with 31 additions and 5 deletions

View File

@ -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);
}
}