From 3e0d983102b7ba45e9b73e3bd259cce49de411ae Mon Sep 17 00:00:00 2001 From: shish Date: Thu, 12 Jul 2007 07:33:53 +0000 Subject: [PATCH] more marking as internal git-svn-id: file:///home/shish/svn/shimmie2/trunk@262 7f39781d-f577-437e-ae19-be835c7a54ca --- core/util.inc.php | 4 ++-- index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/util.inc.php b/core/util.inc.php index 736174ca..efa245d4 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -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; diff --git a/index.php b/index.php index 02f397e4..2c501b54 100644 --- a/index.php +++ b/index.php @@ -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(); ?>