Revision 1457
Added by Dietmar almost 13 years ago
save_settings.php | ||
---|---|---|
11 | 11 |
* @platform WebsiteBaker 2.8.x |
12 | 12 |
* @requirements PHP 5.2.2 and higher |
13 | 13 |
* @version $Id$ |
14 |
* @filesource $HeadURL: $
|
|
15 |
* @lastmodified $Date: $
|
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 | 16 |
* @description |
17 | 17 |
*/ |
18 | 18 |
|
19 | 19 |
require('../../config.php'); |
20 | 20 |
|
21 |
$admin_header = false; |
|
22 |
// Tells script to update when this page was last updated |
|
23 |
$update_when_modified = true; |
|
21 | 24 |
// Include WB admin wrapper script |
22 |
$update_when_modified = true; // Tells script to update when this page was last updated |
|
23 | 25 |
require(WB_PATH.'/modules/admin.php'); |
24 | 26 |
|
25 | 27 |
if (!$admin->checkFTAN()) |
26 | 28 |
{ |
29 |
$admin->print_header(); |
|
27 | 30 |
$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id); |
28 |
exit(); |
|
29 | 31 |
} |
32 |
$admin->print_header(); |
|
30 | 33 |
|
31 | 34 |
// This code removes any <?php tags and adds slashes |
32 | 35 |
$friendly = array('<', '>', '?php'); |
33 | 36 |
Also available in: Unified diff
Preparing 2.8.2 stable, last tests