#202 Add setting for rich text

This commit is contained in:
Mike Koch 2015-07-05 22:22:05 -04:00
parent c73f97e0de
commit edae4ffa37
2 changed files with 11 additions and 1 deletions

View File

@ -574,6 +574,13 @@ function execute240FileUpdate() {
//-- Column to sort categories by. Can be either \'name\' or \'cat_order\'
$modsForHesk_settings[\'category_order_column\'] = \'cat_order\';';
}
if (strpos($file, '$modsForHesk_settings[\'rich_text_for_tickets\']') === false)
{
$file .= '
//-- Setting for using rich-text editor for tickets. 0 = Disable, 1 = Enable
$modsForHesk_settings[\'rich_text_for_tickets\'] = 0;';
}
return file_put_contents(HESK_PATH.'modsForHesk_settings.inc.php', $file);
}

View File

@ -50,3 +50,6 @@ $modsForHesk_settings['request_location'] = 0;
//-- Column to sort categories by. Can be either 'name' or 'cat_order'
$modsForHesk_settings['category_order_column'] = 'cat_order';
//-- Setting for using rich-text editor for tickets. 0 = Disable, 1 = Enable
$modsForHesk_settings['rich_text_for_tickets'] = 0;