Fix for Joomla >= 3.8.x

This commit is contained in:
Christoph Haas 2018-03-10 12:41:16 +01:00
parent 5f407b9f68
commit d35da4c03f
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ print(ConsoleColors.HEADER + "Newest Joomla Version: ", ConsoleColors.OKBLUE, ne
fobj = open(csv_file_name, "w")
fobj.write("Status;Integrity;Actual Version;Newest Version;Domain;Path\n")
for file_path in Path(base_path).glob('**/version.php'):
for file_path in Path(base_path).glob('**/[vV]ersion.php'):
newest_version = get_newest_version()
version = get_joomla_version(str(file_path))
domain = "unknown"