Fixed page routes
This commit is contained in:
parent
7c914d7d13
commit
e0306908bd
@ -537,7 +537,9 @@ abstract class Server {
|
|||||||
case '7':
|
case '7':
|
||||||
case '8':
|
case '8':
|
||||||
case '9':
|
case '9':
|
||||||
if ($frame = $fo->route($read)) {
|
if (is_numeric($fo->route($read))) {
|
||||||
|
$page = ['frame'=>$fo->route($read),'index'=>'a'];
|
||||||
|
|
||||||
$action = ACTION_GOTO;
|
$action = ACTION_GOTO;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -711,8 +713,7 @@ abstract class Server {
|
|||||||
$this->sendBaseline($client,ERR_PAGE);
|
$this->sendBaseline($client,ERR_PAGE);
|
||||||
$mode = $action = FALSE;
|
$mode = $action = FALSE;
|
||||||
|
|
||||||
// We initialise $fo anyway
|
$fo = $current['frame'] ?: $this->mo->frame($this->testFrame());
|
||||||
$fo = $this->mo->frame($this->testFrame());
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
0
resources/views/.gitignore
vendored
Normal file
0
resources/views/.gitignore
vendored
Normal file
Reference in New Issue
Block a user