remove theme dependencies on private _get_internal_parts
This commit is contained in:
parent
2e897e097d
commit
64e2b88b0a
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ class Layout {
|
||||||
global $user;
|
global $user;
|
||||||
$username = url_escape($user->name);
|
$username = url_escape($user->name);
|
||||||
// hack
|
// hack
|
||||||
$qp = _get_query_parts();
|
$qp = explode("/", @$_GET["q"]);
|
||||||
$hw = class_exists("Wiki");
|
$hw = class_exists("Wiki");
|
||||||
// php sucks
|
// php sucks
|
||||||
switch($qp[0]) {
|
switch($qp[0]) {
|
||||||
|
|
|
@ -80,7 +80,7 @@ class Layout {
|
||||||
global $user;
|
global $user;
|
||||||
$username = url_escape($user->name);
|
$username = url_escape($user->name);
|
||||||
// hack
|
// hack
|
||||||
$qp = _get_query_parts();
|
$qp = explode("/", @$_GET["q"]);
|
||||||
$hw = class_exists("Wiki");
|
$hw = class_exists("Wiki");
|
||||||
// php sucks
|
// php sucks
|
||||||
switch($qp[0]) {
|
switch($qp[0]) {
|
||||||
|
|
Reference in a new issue