|
XOOPS
2.6.0
|
Static Public Member Functions | |
| static | loadClass ($class) |
| static | loadFile ($file, $once=true) |
Static Protected Member Functions | |
| static | securityCheck ($filename) |
Definition at line 26 of file Loader.php.
|
static |
Load a class file, part of old autoloader
| string | $class | name of class |
Definition at line 59 of file Loader.php.
References $file, and DIRECTORY_SEPARATOR.
|
static |
Load a file
| string | $file | filename to load |
| bool | $once | true to use include_once |
Definition at line 36 of file Loader.php.
References $file.
Referenced by Xmf\Module\Admin\getInstance(), and Xmf\Module\Permission\init().

|
staticprotected |
Ensure that filename does not contain exploits
exit() if name does not pass check
| string | $filename | name of file to check |
Security check
Definition at line 91 of file Loader.php.
References exit.