OXID eShop CE  4.10.7
 All Classes Namespaces Files Functions Variables Pages
oxnojsvalidator.php
Go to the documentation of this file.
1 <?php
2 
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 }