Revision 1296
Added by Dietmar almost 15 years ago
uninstall.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
* @version 1.0 |
|
7 |
* @author Ruud Eisinga (Ruud) John (PCWacht) |
|
8 |
* @date June 2009 |
|
9 |
* |
|
10 |
* droplets are small codeblocks that are called from anywhere in the template. |
|
11 |
* To call a droplet just use [[dropletname]]. optional parameters for a droplet can be used like [[dropletname?parameter=value¶meter2=value]] |
|
12 |
*/ |
|
13 |
|
|
14 |
// prevent this file from being accessed directly |
|
15 |
if(!defined('WB_PATH')) die(header('Location: ../index.php')); |
|
16 |
|
|
17 |
$table = TABLE_PREFIX .'mod_droplets'; |
|
18 |
$database->query("DROP TABLE IF EXISTS `$table`"); |
|
19 |
|
|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category module |
|
5 |
* @package droplet |
|
6 |
* @author Ruud Eisinga (Ruud) John (PCWacht) |
|
7 |
* @author WebsiteBaker Project |
|
8 |
* @copyright 2004-2009, Ryan Djurovich |
|
9 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
10 |
* @link http://www.websitebaker2.org/ |
|
11 |
* @license http://www.gnu.org/licenses/gpl.html |
|
12 |
* @platform WebsiteBaker 2.8.x |
|
13 |
* @requirements PHP 4.4.9 and higher |
|
14 |
* @version $Id$ |
|
15 |
* @filesource $HeadURL$ |
|
16 |
* @lastmodified $Date$ |
|
17 |
* |
|
18 |
*/ |
|
19 |
|
|
20 |
// prevent this file from being accessed directly |
|
21 |
if(!defined('WB_PATH')) die(header('Location: ../index.php')); |
|
22 |
|
|
23 |
$table = TABLE_PREFIX .'mod_droplets'; |
|
24 |
$database->query("DROP TABLE IF EXISTS `$table`"); |
|
25 |
|
|
20 | 26 |
?> |
21 | 27 |
Also available in: Unified diff
update headerinfo in module droplets