Revision 1931
Added by darkviper over 11 years ago
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
typofixes in /install/save.php