mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
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:
parent
6494d05dde
commit
1ab28bbe03
176 changed files with 52674 additions and 489 deletions
42
vendor/pear-pear.php.net/PEAR/peclcmd.php
generated
vendored
Normal file
42
vendor/pear-pear.php.net/PEAR/peclcmd.php
generated
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* PEAR, the PHP Extension and Application Repository
|
||||
*
|
||||
* Command line interface
|
||||
*
|
||||
* PHP versions 4 and 5
|
||||
*
|
||||
* @category pear
|
||||
* @package PEAR
|
||||
* @author Stig Bakken <ssb@php.net>
|
||||
* @author Tomas V.V.Cox <cox@idecnet.com>
|
||||
* @copyright 1997-2009 The Authors
|
||||
* @license http://opensource.org/licenses/bsd-license.php New BSD License
|
||||
* @link http://pear.php.net/package/PEAR
|
||||
*/
|
||||
|
||||
/**
|
||||
* @nodep Gtk
|
||||
*/
|
||||
//the space is needed for windows include paths with trailing backslash
|
||||
// http://pear.php.net/bugs/bug.php?id=19482
|
||||
if ('D:\Mes Projets\Friendica\friendica\vendor/pear-pear.php.net/PEAR ' != '@'.'include_path'.'@ ') {
|
||||
ini_set('include_path', trim('D:\Mes Projets\Friendica\friendica\vendor/pear-pear.php.net/PEAR '). PATH_SEPARATOR . get_include_path());
|
||||
$raw = false;
|
||||
} else {
|
||||
// this is a raw, uninstalled pear, either a cvs checkout, or php distro
|
||||
$raw = true;
|
||||
}
|
||||
define('PEAR_RUNTYPE', 'pecl');
|
||||
require_once 'pearcmd.php';
|
||||
/*
|
||||
* Local variables:
|
||||
* tab-width: 4
|
||||
* c-basic-offset: 4
|
||||
* indent-tabs-mode: nil
|
||||
* mode: php
|
||||
* End:
|
||||
*/
|
||||
// vim600:syn=php
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue