aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-18 20:07:46 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-18 20:07:46 +0100
commitadf17b677edeb2387671f6a0f12123e7497b5938 (patch)
tree8fd87d7bf5699488ffc12afa991011e80ac1011b /inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php
parent894cd087f41d605f2f093aaad1300825f705e009 (diff)
downloadwallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.gz
wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.zst
wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.zip
remove 3rd libraries
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php')
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php b/inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php
deleted file mode 100644
index 63193c3e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier.autoload.php
+++ /dev/null
@@ -1,27 +0,0 @@
1<?php
2
3/**
4 * @file
5 * Convenience file that registers autoload handler for HTML Purifier.
6 * It also does some sanity checks.
7 */
8
9if (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 {
19 return HTMLPurifier_Bootstrap::autoload($class);
20 }
21}
22
23if (ini_get('zend.ze1_compatibility_mode')) {
24 trigger_error("HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off", E_USER_ERROR);
25}
26
27// vim: et sw=4 sts=4