fixed argc

This commit is contained in:
Palma Solutions LTD 2018-05-07 07:38:11 +02:00
parent 58661aff4e
commit f1e1355b06

View File

@ -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");