31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-06-27 16:33:29 +00:00

move licenses list to gpl directory

This commit is contained in:
Denis Ryabov 2021-02-23 21:10:16 +03:00
parent 53c5903fa0
commit 7741b2b0ce
3 changed files with 2 additions and 2 deletions

View File

@ -91,10 +91,10 @@ class JedcheckerRulesGpl extends JEDcheckerRule
*/
protected function init()
{
$gpl_licenses = (array) file(__DIR__ . '/gpl_gnu.txt');
$gpl_licenses = (array) file(__DIR__ . '/gpl/gnu.txt');
$this->regex_gpl_licenses = $this->generate_regexp($gpl_licenses);
$compat_licenses = (array) file(__DIR__ . '/gpl_compat.txt');
$compat_licenses = (array) file(__DIR__ . '/gpl/compat.txt');
$extra_licenses = $this->params->get('constants');
$extra_licenses = explode(',', $extra_licenses);