|
|
@@ -75,7 +75,7 @@ function get_rootpath() { |
|
|
|
|
|
|
|
|
function get_php() { |
|
|
function get_php() { |
|
|
|
|
|
|
|
|
VERSION=`echo "select server_php.name from server_php join web_domain where server_php.server_php_id=web_domain.server_php_id and web_domain.server_php_id=90 and web_domain.server_php_id!=0 and web_domain.domain like '${WEB}'\G" | mysql --defaults-file=/etc/mysql/debian.cnf dbispconfig | awk '$1 ~ /:/ { print $2 }'` |
|
|
|
|
|
|
|
|
VERSION=`echo "select server_php.name from server_php join web_domain where server_php.server_php_id=web_domain.server_php_id and web_domain.server_php_id != 0 and web_domain.domain like '${WEB}'\G" | mysql --defaults-file=/etc/mysql/debian.cnf dbispconfig | awk '$1 ~ /:/ { print $2 }'` |
|
|
if [ -z "${VERSION}" ]; then |
|
|
if [ -z "${VERSION}" ]; then |
|
|
echo "/usr/bin/php" |
|
|
echo "/usr/bin/php" |
|
|
else |
|
|
else |
|
|
|