Revision 501
Added by ryan over 17 years ago
trunk/CHANGELOG | ||
---|---|---|
15 | 15 |
! Replaced some core files to allow configuration of wbmailer via admin settings panel |
16 | 16 |
------------------------------------- 2.6.6 ------------------------------------- |
17 | 17 |
01-Jul-2007 Ryan Djurovich |
18 |
# Fixed bug where error message not displayed when script fails to create a page |
|
18 | 19 |
# Fixed bugs introduced in [484] |
19 | 20 |
14-May-2007 Matthias Gallas |
20 | 21 |
+ Added support for ISO-8859-6.(Thanks to thorn) |
trunk/wb/framework/functions.php | ||
---|---|---|
859 | 859 |
|
860 | 860 |
// Create a new file in the pages directory |
861 | 861 |
function create_access_file($filename,$page_id,$level) { |
862 |
global $admin; |
|
862 |
global $admin, $MESSAGE;
|
|
863 | 863 |
if(!is_writable(WB_PATH.PAGES_DIRECTORY.'/')) { |
864 | 864 |
$admin->print_error($MESSAGE['PAGES']['CANNOT_CREATE_ACCESS_FILE']); |
865 | 865 |
} else { |
... | ... | |
1057 | 1057 |
// Function to delete a page |
1058 | 1058 |
function delete_page($page_id) { |
1059 | 1059 |
|
1060 |
global $admin, $database; |
|
1060 |
global $admin, $database, $MESSAGE;
|
|
1061 | 1061 |
|
1062 | 1062 |
// Find out more about the page |
1063 | 1063 |
$database = new database(); |
Also available in: Unified diff
Fixed bug where error message not displayed when script fails to create a page