Перенаправления после перехода на новую локу.

This commit is contained in:
Igor Barkov (iwork) 2019-09-24 18:52:39 +03:00
parent c2005316e5
commit a9bafb83ea

View File

@ -71,28 +71,28 @@ $location = explode('/', filter_input(INPUT_SERVER, 'QUERY_STRING'));
can_i_move(); can_i_move();
switch ($location[0]) { switch ($location[0]) {
case 'cp': case 'cp':
move(20); move(20, 'city.php');
break; break;
case 'strah': case 'strah':
move(21); move(21, 'city.php');
break; break;
case 'bps': case 'bps':
move(26); move(26, 'city.php');
break; break;
case 'ps': case 'ps':
move(51); move(51, 'city.php');
break; break;
case 'zaliv': case 'zaliv':
move(2111); move(2111, 'city.php');
break; break;
case 'zamk': case 'zamk':
move(2601); move(2601, 'city.php');
break; break;
case 'abog': case 'abog':
move(2655); move(2655, 'city.php');
break; break;
case 'torg': case 'torg':
move(2702); move(2702, 'city.php');
break; break;
case 'got': case 'got':
if ($user['room'] == 20) { if ($user['room'] == 20) {