diff --git a/bin/thumb_server.sh b/bin/thumb_server.sh index 53a1820..7d5ffe4 100755 --- a/bin/thumb_server.sh +++ b/bin/thumb_server.sh @@ -16,9 +16,9 @@ optimizeTool='' # external tool form optimize png maxQueue=50 # max process in queue currentProcess=$(ps -e | grep -v grep | grep thumb_ | wc -l) -if [ ! -f "cache/tmp/$md5Site.png" ] +if [ ! -f "cache/config/serverOptions.php" ] then - source "../cache/config/serverOptions.php" + source "cache/config/serverOptions.php" fi if [ $currentProcess -gt $maxQueue ]