This commit is contained in:
Mr Chen
2024-11-29 05:10:44 +08:00
parent dbe9fd4222
commit 8f4fca5a6c
2 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -79,9 +79,10 @@ fi
cd $sourcePath/php/php${PHP_VER}
OPTIONS='--without-iconv'
if [ $sysName == 'Darwin' ]; then
OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
fi
# if [ $sysName == 'Darwin' ]; then
# OPTIONS="${OPTIONS} --with-external-pcre=$(brew --prefix pcre2)"
# fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
+4 -4
View File
@@ -531,10 +531,10 @@ mw_default(){
port=$(cat ${PANEL_DIR}/data/port.pl)
fi
# if [ ! -f ${PANEL_DIR}/data/default.pl ];then
# echo -e "\033[33mInstall Failed\033[0m"
# exit 1
# fi
if [ ! -f ${PANEL_DIR}/data/default.pl ];then
echo -e "\033[33mInstall Failed\033[0m"
exit 1
fi
password=$(cat ${PANEL_DIR}/data/default.pl)