]> git.mxchange.org Git - friendica.git/commitdiff
let autoloader include files for HTMLPurifier
authorFabrixxm <fabrix.xm@gmail.com>
Tue, 9 Feb 2016 10:08:26 +0000 (11:08 +0100)
committerFabrixxm <fabrix.xm@gmail.com>
Tue, 9 Feb 2016 10:08:26 +0000 (11:08 +0100)
include/api.php
include/dfrn.php
include/event.php

index 4d206da28e771d2de71a16df9e9d1a010b99ed30..bddd4cfc7de42898a15f3dd74f287cc96d6db939 100644 (file)
 
                if((strpos($txt,'<') !== false) || (strpos($txt,'>') !== false)) {
 
-                       require_once('library/HTMLPurifier.auto.php');
-
                        $txt = html2bb_video($txt);
                        $config = HTMLPurifier_Config::createDefault();
                        $config->set('Cache.DefinitionImpl', null);
                if(requestdata('htmlstatus')) {
                        $txt = requestdata('htmlstatus');
                        if((strpos($txt,'<') !== false) || (strpos($txt,'>') !== false)) {
-
-                               require_once('library/HTMLPurifier.auto.php');
-
                                $txt = html2bb_video($txt);
 
                                $config = HTMLPurifier_Config::createDefault();
index c4999a08e14b16ab66513b01798a49c5e0063082..38c7b425fa40a69835b6d2794eee078764f83904 100644 (file)
@@ -18,7 +18,6 @@ require_once("include/event.php");
 require_once("include/text.php");
 require_once("include/oembed.php");
 require_once("include/html2bbcode.php");
-require_once("library/HTMLPurifier.auto.php");
 
 /**
  * @brief This class contain functions to create and send DFRN XML files
index 13c414c9e30f3907b875f429d5fe162efc7f629c..a9f054fc2ed2bf530e9c6c0d9fbadf7570313c6d 100644 (file)
@@ -76,7 +76,6 @@ function format_event_html($ev, $simple = false) {
 function parse_event($h) {
 
        require_once('include/Scrape.php');
-       require_once('library/HTMLPurifier.auto.php');
        require_once('include/html2bbcode');
 
        $h = '<html><body>' . $h . '</body></html>';