38 self::securityCheck(
$file);
39 if (file_exists(
$file)) {
61 if (class_exists($class,
false) || interface_exists($class,
false)) {
70 if (!class_exists($class,
false) && !interface_exists($class,
false)) {
72 "File \"$file\" does not exist or class \"$class\" was not found in the file",
96 if (preg_match(
'/[^a-z0-9\\/\\\\_.:-]/i', $filename)) {
97 exit(
'Security check: Illegal character in filename');
static loadFile($file, $once=true)
if(!isset($xoops->paths[$path_type])) if($path_type== 'var') $file
defined('DS') or define('DS' DIRECTORY_SEPARATOR
static securityCheck($filename)