mirror of
https://github.com/friendica/friendica
synced 2024-12-24 12:00:15 +00:00
1ab28bbe03
- 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.
15 lines
339 B
Bash
15 lines
339 B
Bash
#!/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" $@
|