diff options
| author | czaks <marcin@6irc.net> | 2014-04-06 21:54:22 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-04-06 21:54:22 +0200 |
| commit | 5a73af9ea1f333fd79fb3cb42ed73f83e50651ec (patch) | |
| tree | 9701f78eb090be35504565e2b0ffca47df81872a | |
| parent | fb94bcca0ed51c1de12bea8db7a884f003e47da0 (diff) | |
add a webm posthandler
| -rw-r--r-- | inc/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
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']) { |
