projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
transport_xhr added
[brisk.git]
/
web
/
Obj
/
sac-a-push.phh
diff --git
a/web/Obj/sac-a-push.phh
b/web/Obj/sac-a-push.phh
index
5d62a37
..
3f5c4c1
100644
(file)
--- a/
web/Obj/sac-a-push.phh
+++ b/
web/Obj/sac-a-push.phh
@@
-545,6
+545,14
@@
class Sac_a_push {
if ($line == "reload") {
require("$DOCUMENT_ROOT/Etc/".BRISK_CONF);
}
+ else if ($line == "shutdown") {
+ if ($this->app->dump_data()) {
+ exit(0);
+ }
+ else {
+ exit(1);
+ }
+ }
}
else {
$key = array_search("$sock", $this->socks);