corrade-http-templates
/groupChat/installGroup.php |
@@ -40,7 +40,8 @@ |
'group' => $GROUP, |
'password' => $PASSWORD, |
'type' => 'group', |
'action' => 'set', # Set will discard other URLs |
'action' => 'add', # Set will discard other URLs |
'tag' => $NOTIFICATION_TAG, |
'URL' => $STORE |
); |
|
@@ -79,7 +80,7 @@ |
# V. Check the status of the command. |
switch($status) { |
case "True": |
echo 'Group chat notification installed!'; |
echo 'Group chat notification installed!'.PHP_EOL; |
break; |
default: |
echo 'Corrade returned the error: '.urldecode( |
@@ -87,7 +88,7 @@ |
"error", |
$result |
) |
); |
).PHP_EOL; |
break; |
} |
|