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
15
vendor/bin/composer-php
vendored
Normal file
15
vendor/bin/composer-php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env sh
|
||||
SRC_DIR=`pwd`
|
||||
BIN_DIR=`dirname $0`
|
||||
VENDOR_DIR=$BIN_DIR/"../"
|
||||
DIRS=""
|
||||
for vendor in $VENDOR_DIR/*; do
|
||||
if [ -d "$vendor" ]; then
|
||||
for package in $vendor/*; do
|
||||
if [ -d "$package" ]; then
|
||||
DIRS="${DIRS}:${package}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
done
|
||||
php -d include_path=".$DIRS" $@
|
Loading…
Add table
Add a link
Reference in a new issue