mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 12:50:20 +02:00
added auth support to pilergetd
This commit is contained in:
1 parent
8cf4a1b759
commit
163ebb7c46
5 files changed
+31
-5
No files matched your search
@@ -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