Revision 436
Added by doc almost 18 years ago
trunk/CHANGELOG | ||
---|---|---|
36 | 36 |
27-Dec-2006 Matthias Gallas |
37 | 37 |
# Fixed form modul stores empty records |
38 | 38 |
------------------------------------- 2.6.6 ------------------------------------- |
39 |
22-Feb-2007 Christian Sommer |
|
40 |
# Fixed bug in changeset 428 (page files were not deleted in /pages folder due to a typo in wb/framework/function.php) |
|
39 | 41 |
16-Feb-2007 Christian Sommer |
40 | 42 |
! Suppressed PHP warnings and errors when reading empty intro.php |
41 | 43 |
16-Feb-2007 Christian Sommer |
trunk/wb/framework/functions.php | ||
---|---|---|
667 | 667 |
$directory = WB_PATH.PAGES_DIRECTORY.$link; |
668 | 668 |
$filename = $directory.'.php'; |
669 | 669 |
$directory .= '/'; |
670 |
if(file_exists($filename) && substr($file_name,0,1<>'.')) {
|
|
670 |
if(file_exists($filename) && substr($filename,0,1<>'.')) { |
|
671 | 671 |
if(!is_writable(WB_PATH.PAGES_DIRECTORY.'/')) { |
672 | 672 |
$admin->print_error($MESSAGE['PAGES']['CANNOT_DELETE_ACCESS_FILE']); |
673 | 673 |
} else { |
Also available in: Unified diff
Fixed bug in changeset 428 (page files were not removed from the /pages folder when deleting files from the backend due to a typo in wb/framework/function.php).