mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Extend the licence file name list
Some plugin use the LICENSE.md file name instead of LICENCE.md.
This commit is contained in:
parent
d1268c9905
commit
74cf5da83b
@ -110,7 +110,7 @@ class Updates extends Controller
|
|||||||
|
|
||||||
$readmeFiles = ['README.md', 'readme.md'];
|
$readmeFiles = ['README.md', 'readme.md'];
|
||||||
$upgradeFiles = ['UPGRADE.md', 'upgrade.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;
|
$readme = $changelog = $upgrades = $licence = $name = null;
|
||||||
$code = str_replace('-', '.', $urlCode);
|
$code = str_replace('-', '.', $urlCode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user