Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #236 from OliverZachau/patch-1

FIX php runntime to $PHP_BIN
kuddos for the fix!
  • Loading branch information...
commit 4edc7025b0a7ef21c1f2c319fcfacd3f24d4e6c9 2 parents 8e27506 + b1536c2
@mattab mattab authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  misc/cron/archive.sh
View
2  misc/cron/archive.sh
@@ -64,7 +64,7 @@ PIWIK_CRON_FOLDER=`dirname ${ARCHIVE}`
PIWIK_PATH="$PIWIK_CRON_FOLDER"/../../index.php
PIWIK_TOKEN_GENERATOR="$PIWIK_CRON_FOLDER"/../../misc/cron/updatetoken.php
-FILENAME_TOKEN_CONTENT=`php $PIWIK_TOKEN_GENERATOR`
+FILENAME_TOKEN_CONTENT=`$PHP_BIN $PIWIK_TOKEN_GENERATOR`
TOKEN_AUTH=`cat $FILENAME_TOKEN_CONTENT | cut -f2`
CMD_GET_ID_SITES="$PHP_BIN -q $PIWIK_PATH -- module=API&method=SitesManager.getAllSitesId&token_auth=$TOKEN_AUTH&format=csv&convertToUnicode=0"
Please sign in to comment.
Something went wrong with that request. Please try again.