Added a setting for selecting the default page.
This commit is contained in:
parent
81650ef29c
commit
199bb625e9
4 changed files with 28 additions and 9 deletions
|
|
@ -47,7 +47,7 @@ sub _getPageInfo {
|
|||
$session{header}{status} = '404';
|
||||
}
|
||||
} else {
|
||||
$pageId = 1;
|
||||
$pageId = $session{setting}{defaultPage};
|
||||
}
|
||||
}
|
||||
%page = WebGUI::SQL->quickHash("select * from page where pageId='".$pageId."'",$_[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue