Project

General

Profile

« Previous | Next » 

Revision 1455

Added by DarkViper over 13 years ago

fixed Bug-Ticket #1096

View differences:

branches/2.8.x/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12

  
13
------------------------------------- 2.8.2 -------------------------------------
13
------------------------------------- 2.8.2 ------------------------------------
14
06 Jun-2011 Build 1455 Werner v.d.Decken(DarkViper)
15
# fixed Bug-Ticket #1096: editing of files via modules/edit_module_files.php
14 16
06 Jun-2011 Build 1454 Werner v.d.Decken(DarkViper)
15 17
# in /framework/functions.php::media_filename - replace whitespaces by _
16 18
# /upgrade-script.php - some small fixes
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2.RC6');
55
if(!defined('REVISION')) define('REVISION', '1454');
55
if(!defined('REVISION')) define('REVISION', '1455');
56 56

  
57 57
?>
branches/2.8.x/wb/modules/edit_module_files.php
59 59
		}
60 60
		$modFileName = WB_PATH .'/modules/' .$mod_dir .'/' .$_edit_file;
61 61
		if(($fileHandle = fopen($modFileName, 'wb'))) {
62
			if(fwrite($mod_file, $css_content)) {
63
				close($fileHandle);
62
			if(fwrite($fileHandle, $css_content)) {
63
				fclose($fileHandle);
64 64
				$admin->print_success($TEXT['SUCCESS'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
65 65
				exit;
66 66
			}
67
			close($fileHandle);
67
			fclose($fileHandle);
68 68
		}
69 69
		$admin->print_error($TEXT['ERROR'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
70 70
		exit;

Also available in: Unified diff