forked from leftypol/leftypol
add a webm posthandler
This commit is contained in:
parent
fb94bcca0e
commit
5a73af9ea1
1 changed files with 6 additions and 0 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue