Extend the licence file name list

Some plugin use the LICENSE.md file name instead of LICENCE.md.
This commit is contained in:
Szabó Gergő 2016-11-11 09:56:46 +01:00 committed by GitHub
parent d1268c9905
commit 74cf5da83b

View File

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