Project

General

Profile

« Previous | Next » 

Revision 1931

Added by darkviper over 11 years ago

typofixes in /install/save.php

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
09 Jul-2013 Build 1931 Werner v.d.Decken(DarkViper)
15
# typofixes in /install/save.php
14 16
09 Jul-2013 Build 1930 Werner v.d.Decken(DarkViper)
15 17
! implement class Password and activate it
16 18
21 Jun-2013 Build 1929 Werner v.d.Decken(DarkViper)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1930');
54
if(!defined('REVISION')) define('REVISION', '1931');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/install/save.php
34 34
 */
35 35

  
36 36
$debug = true;
37
if(!defined('DEBUG')) { define('DEBUG', true); }
37 38

  
38 39
include(dirname(dirname(__FILE__)).'/framework/globalExceptionHandler.php'); 
39 40
include(dirname(dirname(__FILE__)).'/framework/WbAutoloader.php');
......
479 480
	     . '(\'website_header\', \'\'), '
480 481
	     . '(\'website_footer\', \'\'), '
481 482
	     . '(\'wysiwyg_style\', \'font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;\'), '
482
	     . '(\'rename_files_on_upload\', \'ph.*?,cgi,pl,pm,exe,com,bat,pif,cmd,src,asp,aspx,js,txt\'), '
483 483
	     . '(\'er_level\', \'0\'), '
484 484
	     . '(\'default_language\', \''.$default_language.'\'), '
485 485
	     . '(\'app_name\', \'wb_'.$session_rand.'\'), '
......
538 538
	     . '(\'password_length\', \'10\'), '
539 539
		 . '(\'password_use_types\', \''.(int)0xFFFF.'\') '
540 540
	     . '';
541
	if(!$database->query($settings_rows)) { set_error($database->get_error()); }
541
	if(!$database->query($sql)) { set_error($database->get_error()); }
542 542

  
543 543
	// Admin group
544 544
	$full_system_permissions  = 'access,addons,admintools,admintools_view,groups,groups_add,groups_delete,'

Also available in: Unified diff