Revision 413
Added by Matthias almost 19 years ago
| trunk/wb/modules/news/install.php | ||
|---|---|---|
| 130 | 130 |
$database->query("INSERT INTO ".TABLE_PREFIX."mod_news_settings (section_id,page_id) VALUES ('0', '0')");
|
| 131 | 131 |
|
| 132 | 132 |
// Make news post access files dir |
| 133 |
make_dir(WB_PATH.PAGES_DIRECTORY.'/posts/'); |
|
| 133 |
require_once(WB_PATH.'/framework/functions.php'); |
|
| 134 |
make_dir(WB_PATH.PAGES_DIRECTORY.'/posts'); |
|
| 134 | 135 |
|
| 135 | 136 |
} |
| 136 | 137 |
|
| trunk/wb/modules/news/uninstall.php | ||
|---|---|---|
| 32 | 32 |
$database->query("DROP TABLE ".TABLE_PREFIX."mod_news_groups");
|
| 33 | 33 |
$database->query("DROP TABLE ".TABLE_PREFIX."mod_news_comments");
|
| 34 | 34 |
$database->query("DROP TABLE ".TABLE_PREFIX."mod_news_settings");
|
| 35 |
require(WB_PATH.'/framework/functions.php'); |
|
| 35 |
|
|
| 36 |
require_once(WB_PATH.'/framework/functions.php'); |
|
| 36 | 37 |
rm_full_dir(WB_PATH.PAGES_DIRECTORY.'/posts'); |
| 37 | 38 |
|
| 38 | 39 |
?> |
Also available in: Unified diff
Fixed error when uninstalling the news modul