parameter cleaup - round 1

This commit is contained in:
skodak
2006-03-06 10:02:59 +00:00
parent 1452f9e11b
commit 1c47adc540
14 changed files with 43 additions and 48 deletions
+1 -5
View File
@@ -1,14 +1,10 @@
<?PHP // $Id$
// Admin-only script to assign administrative rights to users
require_once("../config.php");
require_once('../config.php');
define("MAX_USERS_PER_PAGE", 50);
$add = optional_param('add', "", PARAM_ALPHA);
$remove = optional_param('remove', '', PARAM_ALPHA);
$search = optional_param('search', '', PARAM_ALPHA);
if (! $site = get_site()) {
redirect("$CFG->wwwroot/$CFG->admin/index.php");
}