Revision 532
Added by doc almost 18 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
| 14 | 14 |
13-Jan-2008 Christian Sommer |
| 15 |
# this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database) |
|
| 16 |
|
|
| 17 |
13-Jan-2008 Christian Sommer |
|
| 15 | 18 |
# fixed error with redirection to admin panel after installation |
| 16 | 19 |
|
| 17 | 20 |
12-Jan-2008 Christian Sommer |
| trunk/wb/admin/settings/save.php | ||
|---|---|---|
| 23 | 23 |
|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 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");
|
|
| 28 |
|
|
| 26 | 29 |
// Find out if the user was view advanced options or not |
| 27 | 30 |
if($_POST['advanced'] == 'yes' ? $advanced = '?advanced=yes' : $advanced = ''); |
| 28 | 31 |
|
Also available in: Unified diff
this bugfix closes ticket 412 (direct call of admin/settings/save.php clears database)