bug #102
This commit is contained in:
parent
2d2b500639
commit
35edf79abe
2 changed files with 7 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -4,7 +4,7 @@ set_time_limit(0);
|
||||||
ini_set('pcre.backtrack_limit', 250000);
|
ini_set('pcre.backtrack_limit', 250000);
|
||||||
|
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.2.1034' );
|
define ( 'FRIENDIKA_VERSION', '2.2.1036' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1075 );
|
define ( 'DB_UPDATE_VERSION', 1075 );
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,12 @@ function parse_url_content(&$a) {
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(strpos($s,'<title>')) {
|
||||||
|
$title = substr($s,strpos($s,'<title>')+7,64);
|
||||||
|
if(strpos($title,'<') !== false)
|
||||||
|
$title = substr($title,0,strpos($title,'<'));
|
||||||
|
}
|
||||||
|
|
||||||
$config = HTMLPurifier_Config::createDefault();
|
$config = HTMLPurifier_Config::createDefault();
|
||||||
$config->set('Cache.DefinitionImpl', null);
|
$config->set('Cache.DefinitionImpl', null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue