diff options
| -rwxr-xr-x | php-malware-finder/phpmalwarefinder | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/php-malware-finder/phpmalwarefinder b/php-malware-finder/phpmalwarefinder index 63b1f1c..b3ce7b7 100755 --- a/php-malware-finder/phpmalwarefinder +++ b/php-malware-finder/phpmalwarefinder | |||
| @@ -15,13 +15,7 @@ fi | |||
| 15 | 15 | ||
| 16 | if [ ! -f "$CONFIG_PATH" ] | 16 | if [ ! -f "$CONFIG_PATH" ] |
| 17 | then | 17 | then |
| 18 | OLD_PATH=$CONFIG_PATH | ||
| 19 | CONFIG_PATH='./php.yar' | 18 | CONFIG_PATH='./php.yar' |
| 20 | if [ ! -f "$CONFIG_PATH" ] | ||
| 21 | then | ||
| 22 | echo "Unable to find 'php.yar' in $OLD_PATH, and in the current directory." | ||
| 23 | exit 0 | ||
| 24 | fi | ||
| 25 | fi | 19 | fi |
| 26 | 20 | ||
| 27 | needle_in_haystack() { | 21 | needle_in_haystack() { |
