add a webm posthandler
This commit is contained in:
parent
fb94bcca0e
commit
5a73af9ea1
@ -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…
Reference in New Issue
Block a user