diff --git a/cp/app/Controllers/SystemController.php b/cp/app/Controllers/SystemController.php index 291e39d..57ac825 100644 --- a/cp/app/Controllers/SystemController.php +++ b/cp/app/Controllers/SystemController.php @@ -246,7 +246,7 @@ class SystemController extends Controller } $validators = [ - 'extension' => v::stringType()->notEmpty()->length(3, 64), + 'extension' => v::stringType()->notEmpty()->length(1, 64), 'script' => v::stringType()->notEmpty(), 'createm0' => v::numericVal()->between(0.00, 9999999.99, true), 'createm12' => v::numericVal()->between(0.00, 9999999.99, true), @@ -553,7 +553,7 @@ class SystemController extends Controller } $validators = [ - 'extension' => v::stringType()->notEmpty()->length(3, 64), + 'extension' => v::stringType()->notEmpty()->length(1, 64), 'createm0' => v::numericVal()->between(0.00, 9999999.99, true), 'createm12' => v::numericVal()->between(0.00, 9999999.99, true), 'createm24' => v::numericVal()->between(0.00, 9999999.99, true), diff --git a/cp/resources/views/admin/system/manageTld.twig b/cp/resources/views/admin/system/manageTld.twig index 02fa207..0b3a082 100644 --- a/cp/resources/views/admin/system/manageTld.twig +++ b/cp/resources/views/admin/system/manageTld.twig @@ -45,7 +45,7 @@