add a webm posthandler

This commit is contained in:
czaks 2014-04-06 21:54:22 +02:00
parent fb94bcca0e
commit 5a73af9ea1

View File

@ -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']) {