Skip to content
Snippets Groups Projects
Commit 484d2ef1 authored by Jared Hancock's avatar Jared Hancock
Browse files

Enable attachments by default

parent 956b8c80
Branches
Tags
No related merge requests found
...@@ -142,6 +142,10 @@ class OsticketConfig extends Config { ...@@ -142,6 +142,10 @@ class OsticketConfig extends Config {
'allow_pw_reset' => true, 'allow_pw_reset' => true,
'pw_reset_window' => 30, 'pw_reset_window' => 30,
'enable_html_thread' => true, 'enable_html_thread' => true,
'allow_attachments' => true,
'allow_email_attachments' => true,
'allow_online_attachments' => true,
'allow_online_attachments_onlogin' => false,
); );
function OsticketConfig($section=null) { function OsticketConfig($section=null) {
......
ec19794f1fc8d6a54ac217d6e8006a85 dad45ca24a3800102f8b92c7279347db
/** /**
* @signature ec19794f1fc8d6a54ac217d6e8006a85 * @signature dad45ca24a3800102f8b92c7279347db
* @version 1.8.0 - HTML ticket thread * @version 1.8.0 - HTML ticket thread
* *
* Migrate to a single attachment table to allow for inline image support * Migrate to a single attachment table to allow for inline image support
...@@ -134,5 +134,5 @@ UPDATE `%TABLE_PREFIX%ticket_thread` ...@@ -134,5 +134,5 @@ UPDATE `%TABLE_PREFIX%ticket_thread`
-- Finished with patch -- Finished with patch
UPDATE `%TABLE_PREFIX%config` UPDATE `%TABLE_PREFIX%config`
SET `value` = 'ec19794f1fc8d6a54ac217d6e8006a85' SET `value` = 'dad45ca24a3800102f8b92c7279347db'
WHERE `key` = 'schema_signature' AND `namespace` = 'core'; WHERE `key` = 'schema_signature' AND `namespace` = 'core';
...@@ -162,10 +162,6 @@ INSERT INTO `%TABLE_PREFIX%config` (`namespace`, `key`, `value`) VALUES ...@@ -162,10 +162,6 @@ INSERT INTO `%TABLE_PREFIX%config` (`namespace`, `key`, `value`) VALUES
('core', 'hide_staff_name', '0'), ('core', 'hide_staff_name', '0'),
('core', 'overlimit_notice_active', '0'), ('core', 'overlimit_notice_active', '0'),
('core', 'email_attachments', '1'), ('core', 'email_attachments', '1'),
('core', 'allow_attachments', '0'),
('core', 'allow_email_attachments', '0'),
('core', 'allow_online_attachments', '0'),
('core', 'allow_online_attachments_onlogin', '0'),
('core', 'random_ticket_ids', '1'), ('core', 'random_ticket_ids', '1'),
('core', 'log_level', '2'), ('core', 'log_level', '2'),
('core', 'log_graceperiod', '12'), ('core', 'log_graceperiod', '12'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment