remove broken include path hack
This commit is contained in:
parent
d753492382
commit
18dbc490fe
2
boot.php
2
boot.php
@ -873,8 +873,6 @@ class App {
|
|||||||
self::$path = $path;
|
self::$path = $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
set_include_path("include/self::$hostname" . PATH_SEPARATOR . get_include_path());
|
|
||||||
|
|
||||||
if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") {
|
if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'], 0, 2) === "q=") {
|
||||||
self::$query_string = escape_tags(substr($_SERVER['QUERY_STRING'], 2));
|
self::$query_string = escape_tags(substr($_SERVER['QUERY_STRING'], 2));
|
||||||
// removing trailing / - maybe a nginx problem
|
// removing trailing / - maybe a nginx problem
|
||||||
|
Reference in New Issue
Block a user