* adjust for encrypt password.
This commit is contained in:
@@ -164,6 +164,13 @@ if %requestType% == 'PATH_INFO' (
|
||||
echo %deletelog% > %baseDir%deletelog.bat
|
||||
echo deletelog.bat ok
|
||||
|
||||
:: encrypt.
|
||||
if exist "%baseDir%php\encrypt.php" (
|
||||
SET encrypt= %phpcli% %baseDir%php\encrypt.php %%*
|
||||
echo %encrypt% > %baseDir%encrypt.bat
|
||||
echo encrypt.bat ok
|
||||
)
|
||||
|
||||
:: create crond.bat
|
||||
SET cron= %phpcli% %baseDir%php\crond.php
|
||||
echo %cron% > %baseDir%crond.bat
|
||||
|
||||
@@ -167,6 +167,13 @@ fi
|
||||
echo $deletelog > $basePath/deletelog.sh
|
||||
echo "deletelog.sh ok"
|
||||
|
||||
# encrypt.
|
||||
if [ -f "$basePath/php/encrypt.php" ]; then
|
||||
encrypt="$phpcli $basePath/php/encrypt.php \$*"
|
||||
echo $encrypt > $basePath/encrypt.sh
|
||||
echo "encrypt.sh ok"
|
||||
fi
|
||||
|
||||
# cron
|
||||
if [ ! -d "$basePath/cron" ]; then
|
||||
mkdir $basePath/cron
|
||||
|
||||
Reference in New Issue
Block a user