Add support for GPL license in libraries

namespaces
Svein-Tore Griff With 2013-09-17 15:57:13 +02:00
parent 1549075a57
commit ece7b5bcde
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ class H5PValidator {
private $libraryOptional = array(
'author' => '/^.{1,255}$/',
'license' => '/^(cc-by|cc-by-sa|cc-by-nd|cc-by-nc|cc-by-nc-sa|cc-by-nc-nd|pd|cr|MIT)$/',
'license' => '/^(cc-by|cc-by-sa|cc-by-nd|cc-by-nc|cc-by-nc-sa|cc-by-nc-nd|pd|cr|MIT|GPL1|GPL2|GPL3)$/',
'description' => '/^.{1,}$/',
'dynamicDependencies' => array(
'machineName' => '/^[\w0-9\-\.]{1,255}$/i',