From 74cf5da83bb28365fd63703c3f1af329ded4a018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20Gerg=C5=91?= Date: Fri, 11 Nov 2016 09:56:46 +0100 Subject: [PATCH] Extend the licence file name list Some plugin use the LICENSE.md file name instead of LICENCE.md. --- modules/system/controllers/Updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/controllers/Updates.php b/modules/system/controllers/Updates.php index 57e025585..d64fafefa 100644 --- a/modules/system/controllers/Updates.php +++ b/modules/system/controllers/Updates.php @@ -110,7 +110,7 @@ class Updates extends Controller $readmeFiles = ['README.md', 'readme.md']; $upgradeFiles = ['UPGRADE.md', 'upgrade.md']; - $licenceFiles = ['LICENCE.md', 'licence.md']; + $licenceFiles = ['LICENCE.md', 'licence.md', 'LICENSE.md', 'license.md']; $readme = $changelog = $upgrades = $licence = $name = null; $code = str_replace('-', '.', $urlCode);