Revision 929
Added by doc over 16 years ago
| upgrade-script.php | ||
|---|---|---|
| 157 | 157 |
db_add_key_value($key, $value); |
| 158 | 158 |
} |
| 159 | 159 |
|
| 160 |
/********************************************************** |
|
| 161 |
* - Adding redirect timer to settings table |
|
| 162 |
*/ |
|
| 163 |
echo "<br />Adding redirect timer to settings table<br />"; |
|
| 164 |
$cfg = array( |
|
| 165 |
'redirect_timer' => '1500' |
|
| 166 |
); |
|
| 167 |
foreach($cfg as $key=>$value) {
|
|
| 168 |
db_add_key_value($key, $value); |
|
| 169 |
} |
|
| 160 | 170 |
|
| 161 | 171 |
/********************************************************** |
| 162 | 172 |
* - Add field "redirect_type" to table "mod_menu_link" |
Also available in: Unified diff
Redirect time for function print_success can now be defined in Settings (ticket #603)