- make use of superglobals instead of registered globals

This commit is contained in:
Jonathan Ernst
2004-12-19 17:36:34 +00:00
committed by WineHQ
parent 974772f93d
commit d02d425fab
2 changed files with 3 additions and 3 deletions

View File

@@ -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();
} }

View File

@@ -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();