Revision 1473
Added by Dietmar almost 13 years ago
sections_save.php | ||
---|---|---|
32 | 32 |
// suppress to print the header, so no new FTAN will be set |
33 | 33 |
$admin = new admin('Pages', 'pages_modify',false); |
34 | 34 |
|
35 |
// Get page id |
|
36 |
if(!isset($_GET['page_id']) || !is_numeric($_GET['page_id'])) { |
|
37 |
header("Location: index.php"); |
|
38 |
exit(0); |
|
39 |
} else { |
|
40 |
$page_id = (int)$_GET['page_id']; |
|
41 |
} |
|
42 |
|
|
35 | 43 |
if (!$admin->checkFTAN()) |
36 | 44 |
{ |
37 | 45 |
$admin->print_header(); |
... | ... | |
39 | 47 |
} |
40 | 48 |
// After check print the header |
41 | 49 |
$admin->print_header(); |
42 |
|
|
43 |
// Get page id |
|
44 |
if(!isset($_GET['page_id']) || !is_numeric($_GET['page_id'])) { |
|
45 |
header("Location: index.php"); |
|
46 |
exit(0); |
|
47 |
} else { |
|
48 |
$page_id = $_GET['page_id']; |
|
49 |
} |
|
50 | 50 |
/* |
51 | 51 |
if( (!($page_id = $admin->checkIDKEY('page_id', 0, $_SERVER['REQUEST_METHOD']))) ) |
52 | 52 |
{ |
Also available in: Unified diff
found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)