Revision 691
Added by doc almost 17 years ago
save.php | ||
---|---|---|
24 | 24 |
*/ |
25 | 25 |
|
26 | 26 |
// prevent this file from being accessed directly in the browser (would set all entries in DB settings table to '') |
27 |
if(!isset($_POST['default_language']) || $_POST['default_language'] == '') die("Cannot access this file directly");
|
|
27 |
if(!isset($_POST['default_language']) || $_POST['default_language'] == '') die(header('Location: index.php'));
|
|
28 | 28 |
|
29 | 29 |
// Find out if the user was view advanced options or not |
30 | 30 |
if($_POST['advanced'] == 'yes' ? $advanced = '?advanced=yes' : $advanced = ''); |
Also available in: Unified diff
Website Header field in Settings now visible per default; Modified templates to display Website Header and to use show_menu instead of page_menu.