* clean baseurl.

This commit is contained in:
zhujinyong
2013-02-21 03:05:19 +00:00
parent a5e6e37fb3
commit 43d1bb2f16
+2 -1
View File
@@ -15,7 +15,7 @@ if [ $# -ne 1 ]; then
fi
done
while :; do
echo "Please input zentao url:(example: http://localhost or http://127.0.0.1:88)"
echo "Please input zentao url:(example: http://localhost:88/zentao or http://localhost)"
read baseUrl
if [ -z "$baseUrl" ]; then
echo "zentao url is error";
@@ -25,6 +25,7 @@ if [ $# -ne 1 ]; then
done
fi
baseUrl=`echo "$baseUrl" | sed 's/[/]$//g'`
if [ "`cat $basePath/../config/my.php | grep -c 'PATH_INFO'`" != 0 ];then
requestType='PATH_INFO';
else