Revision 1409
Added by FrankH almost 14 years ago
upgrade-script.php | ||
---|---|---|
270 | 270 |
} |
271 | 271 |
|
272 | 272 |
/********************************************************** |
273 |
* - Adding field warn_page_leave to settings table |
|
274 |
*/ |
|
275 |
echo "<br />Adding warn_page_leave to settings table<br />"; |
|
276 |
$cfg = array( |
|
277 |
'warn_page_leave' => '1' |
|
278 |
); |
|
279 |
|
|
280 |
foreach($cfg as $key=>$value) { |
|
281 |
db_add_key_value($key, $value); |
|
282 |
} |
|
283 |
|
|
284 |
/********************************************************** |
|
273 | 285 |
* - install droplets |
274 | 286 |
*/ |
275 | 287 |
$drops = (!in_array ( "mod_droplets", $all_tables)) ? "<br />Install droplets<br />" : "<br />Upgrade droplets<br />"; |
Also available in: Unified diff
+ Ticket 1058 added warn_page_leave (currently only in wysiwyg)