fixed argc
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* - Fix Drupal 7 not working correctly
|
* - 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";
|
echo "Scanning for CMS scripts under /home/".$argv[1]."/public_html/\n";
|
||||||
} else {
|
} else {
|
||||||
die("You must specify the username for this to work out!\n");
|
die("You must specify the username for this to work out!\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user