forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
235 B
16 lines
235 B
1 year ago
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
file_error="sintaxe_error"
|
||
|
path_file=$(find /var/www/html/aplicativo/ -type f |grep -E ".*\.php$")
|
||
|
|
||
|
echo > $file_error
|
||
|
|
||
|
for file in $path_file
|
||
|
do
|
||
|
php -lf $file > /dev/null 2>> $file_error
|
||
|
|
||
|
done
|
||
|
|
||
|
echo "----> $file_error"
|