From 3412a6c836132c1f95af5802e86b9b3ca761510f Mon Sep 17 00:00:00 2001 From: Palma Solutions LTD Date: Mon, 7 May 2018 07:25:25 +0200 Subject: [PATCH] made argc more accurate --- cms-vss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms-vss.php b/cms-vss.php index e6cc580..e8e606c 100644 --- a/cms-vss.php +++ b/cms-vss.php @@ -15,7 +15,7 @@ * - Fix Drupal 7 not working correctly */ - if ($_SERVER['argc'] >= 2) { + if ($_SERVER['argc'] = 2) { echo "Scanning for CMS scripts under /home/".$argv[1]."/public_html/\n"; } else { die("You must specify the username for this to work out!\n");