bug fix
This commit is contained in:
21
cms-vss.php
21
cms-vss.php
@@ -23,7 +23,7 @@
|
||||
|
||||
$versions = array(
|
||||
array("Wordpress", "/wp-includes/version.php", "\$wp_version =", "Maintained"),
|
||||
array("Drupal 6", "/modules/system/system.info", "version = ", "EOL"),
|
||||
array("Drupal 6/7", "/modules/system/system.info", "version = ", "EOL"),
|
||||
array("Drupal 8", "/core/modules/system/system.info.yml", "version: '", "Maintained"),
|
||||
array("osCommerce", "/includes/application_top.php", "define('PROJECT_VERSION', 'osCommerce Online Merchant", "Maintained"),
|
||||
array("phpBB", "/includes/constants.php", "define('PHPBB_VERSION',", "Maintained"),
|
||||
@@ -223,7 +223,8 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$row[1], GLOB_BRACE) as $
|
||||
$location = $versionfile;
|
||||
$trim = str_replace($row[1], '', $location);
|
||||
print_r ("location:".$trim)."\n";
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +242,8 @@ foreach(glob("/home/".$argv[1]."/public_html/".$row[1], GLOB_BRACE) as $versionf
|
||||
$location = $versionfile;
|
||||
$trim = str_replace($row[1], '', $location);
|
||||
print_r ("location:".$trim)."\n";
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -275,7 +277,8 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$raw[1], GLOB_BRACE) as $
|
||||
$location = $versionfiles;
|
||||
$trim = str_replace($raw[1], '', $location);
|
||||
print_r ("location:".$trim)."\n";
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -294,7 +297,8 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$raw[1], GLOB_BRACE) as $
|
||||
$location = $versionfiles;
|
||||
$trim = str_replace($raw[1], '', $location);
|
||||
print_r ("location:".$trim."\n");
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,7 +332,8 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$rxw[1], GLOB_BRACE) as $
|
||||
$location = $versionfilex;
|
||||
$trim = str_replace($rxw[1], '', $location);
|
||||
print_r ("location:".$trim."\n");
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -348,9 +353,9 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$rxw[1], GLOB_BRACE) as $
|
||||
$location = $versionfilex;
|
||||
$trim = str_replace($rxw[1], '', $location);
|
||||
print_r ("location:".$trim."\n");
|
||||
|
||||
echo "\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
echo "\n\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user