more marking as internal
git-svn-id: file:///home/shish/svn/shimmie2/trunk@262 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
34d95d594d
commit
3e0d983102
2 changed files with 4 additions and 4 deletions
|
@ -356,7 +356,7 @@ function _get_query_parts() {
|
|||
return split('/', $path);
|
||||
}
|
||||
|
||||
function get_page_request($page_object) {
|
||||
function _get_page_request($page_object) {
|
||||
global $config;
|
||||
$args = _get_query_parts();
|
||||
|
||||
|
@ -376,7 +376,7 @@ function get_page_request($page_object) {
|
|||
return new PageRequestEvent($page, $args, $page_object);
|
||||
}
|
||||
|
||||
function get_user() {
|
||||
function _get_user() {
|
||||
global $database;
|
||||
global $config;
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@ require_once "themes/$_theme/page.class.php";
|
|||
require_once "themes/$_theme/layout.class.php";
|
||||
require_once "themes/$_theme/themelet.class.php";
|
||||
$page = new Page();
|
||||
$user = get_user();
|
||||
$user = _get_user();
|
||||
send_event(new InitExtEvent());
|
||||
send_event(get_page_request($page));
|
||||
send_event(_get_page_request($page));
|
||||
$page->display();
|
||||
?>
|
||||
|
|
Reference in a new issue