ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
DisableExternalResources.php
Go to the documentation of this file.
1<?php
2
4{
8 public $name = 'DisableExternalResources';
9
16 public function filter(&$uri, $config, $context)
17 {
18 if (!$context->get('EmbeddedURI', true)) {
19 return true;
20 }
21 return parent::filter($uri, $config, $context);
22 }
23}
24
25// vim: et sw=4 sts=4
An exception for terminatinating execution or to throw for unit testing.