Add Text_Highlighter to Composer

- Fixes critical mistake in boot.php regarding set_include_path
- Fixes minor mistake in text.php regarding strpos order of arguments

Note: This change significantly increases Composer running time because
Text_Highlither is a PEAR package. I'm already planning to replace it
with scrivo/highlight.php.
This commit is contained in:
Hypolite Petovan 2017-04-05 00:31:49 -04:00
commit 1ab28bbe03
176 changed files with 52674 additions and 489 deletions

View file

@ -14,8 +14,15 @@
},
"require": {
"ezyang/htmlpurifier": "~4.7.0",
"mobiledetect/mobiledetectlib": "2.8.*"
"mobiledetect/mobiledetectlib": "2.8.*",
"pear-pear.php.net/Text_Highlighter": "*"
},
"repositories": [
{
"type": "pear",
"url": "https://pear.php.net"
}
],
"autoload": {
"psr-4": {
"Friendica\\": "src/"