remove theme dependencies on private _get_internal_parts

This commit is contained in:
Shish 2012-06-22 19:37:23 +01:00
parent 2e897e097d
commit 64e2b88b0a
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ class Layout {
global $user;
$username = url_escape($user->name);
// hack
$qp = _get_query_parts();
$qp = explode("/", @$_GET["q"]);
$hw = class_exists("Wiki");
// php sucks
switch($qp[0]) {

View file

@ -80,7 +80,7 @@ class Layout {
global $user;
$username = url_escape($user->name);
// hack
$qp = _get_query_parts();
$qp = explode("/", @$_GET["q"]);
$hw = class_exists("Wiki");
// php sucks
switch($qp[0]) {