Register globals

This commit is contained in:
Alan Garcia 2012-08-21 12:59:57 +00:00
parent 60e548d25f
commit e7b1dcd803
1 changed files with 6 additions and 6 deletions

View File

@ -29,15 +29,15 @@
*/ */
require_once("../class/config.php"); require_once("../class/config.php");
if (!is_array($d)) { $fields = array (
$d[]=$d; "d" => array ("post", "array", ""),
} "dir" => array ("post", "string", ""),
);
getFields($fields);
reset($d); reset($d);
if (!$hta->del_user($d,$dir)) { if (!$hta->del_user($d,$dir)) {
$error=$err->errstr(); $error=$err->errstr();
} }
include("hta_edit.php"); include("hta_edit.php");