Project

General

Profile

« Previous | Next » 

Revision 1810

Added by Dietmar almost 12 years ago

! account signup check that display_name is unique in whole system
(prevents from User-faking)
! add POST Request to admintools

View differences:

tool.php
28 28

  
29 29
require_once(WB_PATH.'/framework/functions.php');
30 30

  
31
$toolDir = (isset($_GET['tool']) && (trim($_GET['tool']) != '') ? trim($_GET['tool']) : '');
31
$toolDir = (isset($_POST['tool']) && (trim($_POST['tool']) != '') ? trim($_POST['tool']) : '');
32
$toolDir = (isset($_GET['tool']) && (trim($_GET['tool']) != '') ? trim($_GET['tool']) : $toolDir);
32 33
$doSave  = (isset($_POST['save_settings']) || (isset($_POST['action']) && strtolower($_POST['action']) == 'save'));
33 34

  
34 35
// test for valid tool name

Also available in: Unified diff