projects
/
weblabels.fsf.org.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
commiting uncommited changes on live site
[weblabels.fsf.org.git]
/
crm.fsf.org
/
20131203
/
files
/
sites
/
all
/
modules-new
/
civicrm
/
packages
/
IDS
/
vendors
/
htmlpurifier
/
HTMLPurifier
/
URIFilter
/
DisableResources.php
1
<
?php
2
3
class
HTMLPurifier_URIFilter_DisableResources
extends
HTMLPurifier_URIFilter
4
{
5
public
$name
=
'DisableResources'
;
6
public function
filter
(&
$uri
,
$config
,
$context
) {
7
return
!
$context
->
get
(
'EmbeddedURI'
,
true
);
8
}
9
}
10
11
// vim: et sw=4 sts=4