diff --git a/pandora_server/util/integrity_check b/pandora_server/util/integrity_check index eb52c949f7..74d0d6ac1b 100755 --- a/pandora_server/util/integrity_check +++ b/pandora_server/util/integrity_check @@ -156,7 +156,7 @@ then cat /dev/null > $OUTPUT echo "#Pandora FMS Integrity Check generated at $HUMANDATE at `hostname` by $USER" >> $OUTPUT echo "Creating integrity check of Pandora FMS Console files" - for ax in `find /var/www/pandora_console/ -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"` + for ax in `find $CONSOLE_PATH -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"` do bx=`md5sum $ax` echo $bx >>$OUTPUT