diff --git a/inc/instance-config.php b/inc/instance-config.php
index de1258ac..d569b972 100644
--- a/inc/instance-config.php
+++ b/inc/instance-config.php
@@ -40,18 +40,23 @@ require_once "8chan-functions.php";
$config['secure_trip_salt'] = 'REMOVED';
$config['always_noko'] = true;
$config['allow_no_country'] = true;
+ $config['thread_subject_in_title'] = true;
+ $config['spam']['hidden_inputs_max_pass'] = 128;
// Image shit
$config['thumb_method'] = 'gm+gifsicle';
$config['thumb_ext'] = '';
$config['thumb_keep_animation_frames'] = 100;
$config['show_ratio'] = true;
- $config['allow_upload_by_url'] = true;
+ //$config['allow_upload_by_url'] = true;
$config['max_filesize'] = 1024 * 1024 * 5; // 5MB
$config['disable_images'] = false;
$config['spoiler_images'] = true;
$config['image_reject_repost'] = false;
$config['allowed_ext_files'][] = 'webm';
+ $config['webm']['use_ffmpeg'] = true;
+ $config['webm']['allow_audio'] = true;
+ $config['webm']['max_length'] = 60 * 15;
// Mod shit
$config['mod']['groups'][25] = 'Supermod';
@@ -110,7 +115,7 @@ require_once "8chan-functions.php";
$config['markup'][] = array("/\[spoiler\](.+?)\[\/spoiler\]/", "\$1");
$config['markup'][] = array("/~~(.+?)~~/", "\$1");
- $config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co'), array(''=>'https://twitter.com/infinitechan'));
+ $config['boards'] = array(array('' => '/', '' => '/boards.html', '' => '/faq.html', '' => '/random.php', '' => '/create.php', '' => '/search.php', '' => '/mod.php', '' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array(''=>'https://twitter.com/infinitechan'));
$config['footer'][] = 'Proprietary Tinyboard changes & 8chan.co trademark and logo © 2013-2014 Fredrick Brennan';
$config['footer'][] = 'To make a DMCA request or report illegal content, please email admin@8chan.co or use the "Global Report" functionality on every page.';
@@ -229,7 +234,7 @@ require_once "8chan-functions.php";
$meta_noindex = isset($_POST['meta_noindex']) ? 'true' : 'false';
$allow_roll = isset($_POST['allow_roll']) ? 'true' : 'false';
$code_tags = isset($_POST['code_tags']) ? '$config[\'additional_javascript\'][] = \'js/code_tags/run_prettify.js\';$config[\'markup\'][] = array("/\[code\](.+?)\[\/code\]/ms", "\$1
");' : '';
- $mathjax = isset($_POST['mathjax']) ? '$config[\'mathjax\'] = true;$config[\'additional_javascript\'][] = \'js/mathjax-MathJax-727332c/MathJax.js?config=TeX-AMS_HTML-full\';' : '';
+ $katex = isset($_POST['katex']) ? '$config[\'katex\'] = true;$config[\'additional_javascript\'][] = \'js/katex/katex.min.js\'; $config[\'markup\'][] = array("/\[tex\](.+?)\[\/tex\]/ms", "\$1"); $config[\'additional_javascript\'][] = \'js/katex-enable.js\';' : '';
$oekaki_js = <<