mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-27 15:29:19 +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';
|
require_once 'inc/lib/recaptcha/recaptchalib.php';
|
||||||
if ($config['cache']['enabled'])
|
if ($config['cache']['enabled'])
|
||||||
require_once 'inc/cache.php';
|
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');
|
event('load-config');
|
||||||
|
|
||||||
if ($config['debug']) {
|
if ($config['debug']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user