Revision 378
Added by Matthias almost 18 years ago
trunk/wb/modules/news/delete_post.php | ||
---|---|---|
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
// Unlink post access file |
49 |
if(is_writable(WB_PATH.$get_details['link'].'.php')) { |
|
50 |
unlink(WB_PATH.$get_details['link'].'.php'); |
|
49 |
if(is_writable(WB_PATH.PAGES_DIRECTORY.$get_details['link'].'.php')) {
|
|
50 |
unlink(WB_PATH.PAGES_DIRECTORY.$get_details['link'].'.php');
|
|
51 | 51 |
} |
52 | 52 |
|
53 | 53 |
// Delete post |
Also available in: Unified diff
Fixed files in /pages/posts folder are not deleted (#340)