- make use of superglobals instead of registered globals
This commit is contained in:
@@ -8,9 +8,9 @@ include(BASE."include/"."incl.php");
|
|||||||
|
|
||||||
$help_path = $apidb_root."/help";
|
$help_path = $apidb_root."/help";
|
||||||
|
|
||||||
if($topic)
|
if($_GET['topic'])
|
||||||
{
|
{
|
||||||
display_help($topic);
|
display_help($_GET['topic']);
|
||||||
} else {
|
} else {
|
||||||
display_index();
|
display_index();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ if(loggedin())
|
|||||||
|
|
||||||
|
|
||||||
// create $vars object
|
// create $vars object
|
||||||
$vars = $HTTP_GET_VARS;
|
$vars = $_GET;
|
||||||
$qc = new qclass();
|
$qc = new qclass();
|
||||||
$qc->process($vars);
|
$qc->process($vars);
|
||||||
$query = $qc->get_query();
|
$query = $qc->get_query();
|
||||||
|
|||||||
Reference in New Issue
Block a user