Revision 995
Added by aldus over 16 years ago
| install.php | ||
|---|---|---|
| 12 | 12 |
*/ |
| 13 | 13 |
|
| 14 | 14 |
// prevent this file from being accessed directly |
| 15 |
if(!defined('WB_PATH')) die(header('Location: ../index.php'));
|
|
| 15 |
if(!defined('WB_PATH')) die(header('Location: ../../index.php'));
|
|
| 16 | 16 |
|
| 17 | 17 |
$table = TABLE_PREFIX .'mod_droplets'; |
| 18 | 18 |
$database->query("DROP TABLE IF EXISTS `$table`");
|
| ... | ... | |
| 74 | 74 |
} |
| 75 | 75 |
} |
| 76 | 76 |
|
| 77 |
|
|
| 78 | 77 |
function getDropletCodeFromFile ( $dropletfile ) {
|
| 79 | 78 |
$data = ""; |
| 80 | 79 |
$filename = WB_PATH."/modules/droplets/example/".$dropletfile; |
Also available in: Unified diff
update upgrade-script to avoid droping droplet-tables if the modul still exists. Add an upgrade-script to the droplets.