XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
HTMLPurifier.autoload.php
Go to the documentation of this file.
1
<?php
2
9
if
(function_exists(
'spl_autoload_register'
) && function_exists(
'spl_autoload_unregister'
)) {
10
// We need unregister for our pre-registering functionality
11
HTMLPurifier_Bootstrap::registerAutoload
();
12
if
(function_exists(
'__autoload'
)) {
13
// Be polite and ensure that userland autoload gets retained
14
spl_autoload_register(
'__autoload'
);
15
}
16
} elseif (!function_exists(
'__autoload'
)) {
17
function
__autoload($class) {
18
return
HTMLPurifier_Bootstrap::autoload
($class);
19
}
20
}
21
22
if
(ini_get(
'zend.ze1_compatibility_mode'
)) {
23
trigger_error(
"HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off"
, E_USER_ERROR);
24
}
25
26
// vim: et sw=4 sts=4
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier.autoload.php
Generated on Fri May 10 2013 01:04:29 for XOOPS 2.5.6 by
1.8.3.1