diff options
author | git-marijus <mario@mariovavti.com> | 2018-03-23 10:25:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-23 10:25:58 +0100 |
commit | e2b9162a30f60ba74038c4aa999d31d5e9338d7c (patch) | |
tree | dce716a2a6955b0b43d6176daa75517982a65541 /vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php | |
parent | eec4d9b5ad2ad3fbc4d5c5651fcccdc81b248af9 (diff) | |
parent | c80837a9e6a1d5049a03fbb608b2b650c1b0f92d (diff) | |
download | volse-hubzilla-e2b9162a30f60ba74038c4aa999d31d5e9338d7c.tar.gz volse-hubzilla-e2b9162a30f60ba74038c4aa999d31d5e9338d7c.tar.bz2 volse-hubzilla-e2b9162a30f60ba74038c4aa999d31d5e9338d7c.zip |
Merge pull request #1010 from dawnbreak/dev
:arrow_up: Update libraries.
Diffstat (limited to 'vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php')
-rw-r--r-- | vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php new file mode 100644 index 000000000..c271cd158 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php @@ -0,0 +1,15 @@ +<?php + +/** + * @file + * Legacy autoloader for systems lacking spl_autoload_register + * + * Must be separate to prevent deprecation warning on PHP 7.2 + */ + +function __autoload($class) +{ + return HTMLPurifier_Bootstrap::autoload($class); +} + +// vim: et sw=4 sts=4 |