more marking as internal

git-svn-id: file:///home/shish/svn/shimmie2/trunk@262 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-12 07:33:53 +00:00
parent 34d95d594d
commit 3e0d983102
2 changed files with 4 additions and 4 deletions

View File

@ -356,7 +356,7 @@ function _get_query_parts() {
return split('/', $path); return split('/', $path);
} }
function get_page_request($page_object) { function _get_page_request($page_object) {
global $config; global $config;
$args = _get_query_parts(); $args = _get_query_parts();
@ -376,7 +376,7 @@ function get_page_request($page_object) {
return new PageRequestEvent($page, $args, $page_object); return new PageRequestEvent($page, $args, $page_object);
} }
function get_user() { function _get_user() {
global $database; global $database;
global $config; global $config;

View File

@ -38,8 +38,8 @@ require_once "themes/$_theme/page.class.php";
require_once "themes/$_theme/layout.class.php"; require_once "themes/$_theme/layout.class.php";
require_once "themes/$_theme/themelet.class.php"; require_once "themes/$_theme/themelet.class.php";
$page = new Page(); $page = new Page();
$user = get_user(); $user = _get_user();
send_event(new InitExtEvent()); send_event(new InitExtEvent());
send_event(get_page_request($page)); send_event(_get_page_request($page));
$page->display(); $page->display();
?> ?>