mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
add a webm posthandler
This commit is contained in:
parent
f681a359fd
commit
1dbc1e6fdb
@ -228,6 +228,12 @@ function loadConfig() {
|
||||
require_once 'inc/lib/recaptcha/recaptchalib.php';
|
||||
if ($config['cache']['enabled'])
|
||||
require_once 'inc/cache.php';
|
||||
|
||||
if (in_array('webm', $config['allowed_ext_files'])) {
|
||||
require_once 'inc/lib/webm/posthandler.php';
|
||||
event_handler('post', 'postHandler');
|
||||
}
|
||||
|
||||
event('load-config');
|
||||
|
||||
if ($config['debug']) {
|
||||
|
Loading…
Reference in New Issue
Block a user