projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arguments management added to be able to run sap without listen on stdin
[brisk.git]
/
web
/
spush
/
brisk-spush.php
diff --git
a/web/spush/brisk-spush.php
b/web/spush/brisk-spush.php
index
9a65d21
..
35c2584
100755
(executable)
--- a/
web/spush/brisk-spush.php
+++ b/
web/spush/brisk-spush.php
@@
-39,7
+39,7
@@
require_once($G_base."briskin5/index.php");
require_once($G_base."briskin5/index_wr.php");
require_once($G_base."briskin5/index_wr.php");
-function main()
+function main(
$argv
)
{
pid_save();
do {
{
pid_save();
do {
@@
-49,7
+49,7
@@
function main()
break;
}
break;
}
- if (($s_a_p = Sac_a_push::create($room, USOCK_PATH, 0, 0)) === FALSE) {
+ if (($s_a_p = Sac_a_push::create($room, USOCK_PATH, 0, 0
, $argv
)) === FALSE) {
$ret = 2;
break;
}
$ret = 2;
break;
}
@@
-61,5
+61,5
@@
function main()
exit($ret);
}
exit($ret);
}
-main();
+main(
$argv
);
?>
?>