Allow oEmbed data from all sites by default

This commit is contained in:
Mikael Nordfeldth 2015-04-03 21:00:19 +02:00
parent 9ab996d9e6
commit 4fc4f91b9e

View File

@ -11,7 +11,7 @@ class OembedPlugin extends Plugin
'^i\d*\.vimeocdn\.com$' => 'Vimeo', '^i\d*\.vimeocdn\.com$' => 'Vimeo',
); );
public $append_whitelist = array(); // fill this array as domain_whitelist to add more trusted sources public $append_whitelist = array(); // fill this array as domain_whitelist to add more trusted sources
public $check_whitelist = true; // security/abuse precaution public $check_whitelist = false; // security/abuse precaution
protected $imgData = array(); protected $imgData = array();