Fix two minor bugs, updating Phorum and removing unused $dir variable.
[htmlpurifier/darkodev.git] / library / HTMLPurifier / URIFilter / DisableExternalResources.php
blob881abc43cfa2533027109ca74e7052be9a273ff6
1 <?php
3 class HTMLPurifier_URIFilter_DisableExternalResources extends HTMLPurifier_URIFilter_DisableExternal
5 public $name = 'DisableExternalResources';
6 public function filter(&$uri, $config, $context) {
7 if (!$context->get('EmbeddedURI', true)) return true;
8 return parent::filter($uri, $config, $context);
12 // vim: et sw=4 sts=4