Ignore configuration files for PHP variables.
This commit is contained in:
parent
ad5d10979d
commit
c901bc3b0c
@ -173,7 +173,7 @@ function build_project()
|
|||||||
WORKDESK="/tmp/isidore-workdesk"
|
WORKDESK="/tmp/isidore-workdesk"
|
||||||
CFG_HEADER_FILE="$WORKDESK/config-header.php"
|
CFG_HEADER_FILE="$WORKDESK/config-header.php"
|
||||||
mkdir -p $WORKDESK
|
mkdir -p $WORKDESK
|
||||||
for i in $(find site/ -name '*.php')
|
for i in $(find site/ -name '*.php' -not -name '*.cfg.php')
|
||||||
do
|
do
|
||||||
echo "<?php include getcwd() . '/config.php'; ?>" > $CFG_HEADER_FILE
|
echo "<?php include getcwd() . '/config.php'; ?>" > $CFG_HEADER_FILE
|
||||||
mkdir -p $WORKDESK/${i%/*}
|
mkdir -p $WORKDESK/${i%/*}
|
||||||
|
Loading…
Reference in New Issue
Block a user