forked from Cavemanon/cavepaintings
php cli server uses its own request thing
This commit is contained in:
@@ -82,7 +82,7 @@ class Layout {
|
||||
// hack
|
||||
$username = url_escape($user->name);
|
||||
// hack
|
||||
$qp = explode("/", ltrim(@$_GET["q"], "/"));
|
||||
$qp = explode("/", ltrim(_get_query(), "/"));
|
||||
$cs = "";
|
||||
|
||||
// php sucks
|
||||
@@ -256,7 +256,7 @@ EOD;
|
||||
* Woo! We can actually SEE THE CURRENT PAGE!! (well... see it highlighted in the menu.)
|
||||
*/
|
||||
$html = null;
|
||||
$url = ltrim($_GET['q'], "/");
|
||||
$url = ltrim(_get_query(), "/");
|
||||
|
||||
$re1='.*?';
|
||||
$re2='((?:[a-z][a-z_]+))';
|
||||
|
Reference in New Issue
Block a user