From 5a73af9ea1f333fd79fb3cb42ed73f83e50651ec Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 6 Apr 2014 21:54:22 +0200 Subject: [PATCH] add a webm posthandler --- inc/functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inc/functions.php b/inc/functions.php index 488a4117..c1607193 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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']) {