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:
11
vendor/bin/composer-php.bat
vendored
Normal file
11
vendor/bin/composer-php.bat
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
set VENDOR_DIR=%BIN_DIR%\../
|
||||
set DIRS=.
|
||||
FOR /D %%V IN (%VENDOR_DIR%\*) DO (
|
||||
FOR /D %%P IN (%%V\*) DO (
|
||||
set DIRS=!DIRS!;%%~fP
|
||||
)
|
||||
)
|
||||
php.exe -d include_path=!DIRS! %*
|
||||
Reference in New Issue
Block a user