mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Run the subpages.
I really wanna have PHP 5.4 ready :(
This commit is contained in:
parent
366b7207ca
commit
93ea9c8341
@ -158,21 +158,26 @@ public function readParameters() {
|
|||||||
|
|
||||||
switch ($this->action) {
|
switch ($this->action) {
|
||||||
case 'Message':
|
case 'Message':
|
||||||
new ChatMessagePage();
|
$page = new ChatMessagePage();
|
||||||
|
$page->__run();
|
||||||
exit;
|
exit;
|
||||||
case 'Log':
|
case 'Log':
|
||||||
exit;
|
exit;
|
||||||
case 'RefreshRoomList':
|
case 'RefreshRoomList':
|
||||||
new ChatRefreshRoomListPage();
|
$page = new ChatRefreshRoomListPage();
|
||||||
|
$page->__run();
|
||||||
exit;
|
exit;
|
||||||
case 'Send':
|
case 'Send':
|
||||||
new \wcf\form\ChatForm();
|
$form = new \wcf\form\ChatForm();
|
||||||
|
$form->__run();
|
||||||
exit;
|
exit;
|
||||||
case 'Leave':
|
case 'Leave':
|
||||||
new \wcf\action\ChatLeaveAction();
|
$action = new \wcf\action\ChatLeaveAction();
|
||||||
|
$action->__run();
|
||||||
exit;
|
exit;
|
||||||
case 'Copyright':
|
case 'Copyright':
|
||||||
new ChatCopyrightPage();
|
$page = new ChatCopyrightPage();
|
||||||
|
$page->__run();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user