Project

General

Profile

« Previous | Next » 

Revision 502

Added by ryan almost 17 years ago

Added changeset [501] to 2.6.x branch

View differences:

branches/2.6.x/CHANGELOG
12 12

  
13 13
------------------------------------- 2.6.6 -------------------------------------
14 14
01-Jul-2007 Ryan Djurovich
15
#	Fixed bug where error message not displayed when script fails to create a page
15 16
#	Fixed bugs introduced in [484]
16 17
14-May-2007 Matthias Gallas
17 18
+	Added support for ISO-8859-6.(Thanks to thorn)
branches/2.6.x/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