Setup needs to be accessible without POST
This commit is contained in:
2
chat.php
2
chat.php
@ -144,7 +144,7 @@ function route(){
|
|||||||
}elseif($_REQUEST['action']==='admin' && isPOST()){
|
}elseif($_REQUEST['action']==='admin' && isPOST()){
|
||||||
check_session();
|
check_session();
|
||||||
send_admin(route_admin());
|
send_admin(route_admin());
|
||||||
}elseif($_REQUEST['action']==='setup' && isPOST()){
|
}elseif($_REQUEST['action']==='setup'){
|
||||||
route_setup();
|
route_setup();
|
||||||
}else{
|
}else{
|
||||||
send_login();
|
send_login();
|
||||||
|
Reference in New Issue
Block a user