OXID eShop CE
4.10.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
oxnojsvalidator.php
Go to the documentation of this file.
1
<?php
2
6
class
oxNoJsValidator
7
{
15
public
function
isValid
($configValue)
16
{
17
$isValid =
true
;
18
if
(preg_match(
'/<script.*>/'
, $configValue) !== 0) {
19
$isValid =
false
;
20
}
21
22
return
$isValid;
23
}
24
}
core
oxnojsvalidator.php
Generated by
1.8.1.2