diff --git a/Admin/Routes/Web/Shop.php b/Admin/Routes/Web/Shop.php index 95241b6..1312d47 100755 --- a/Admin/Routes/Web/Shop.php +++ b/Admin/Routes/Web/Shop.php @@ -11,7 +11,7 @@ return [ 'dest' => '\Modules\Shop\Controller\ShopController:viewWelcome', 'verb' => RouteVerb::GET, 'permission' => [ - 'module' => ShopController::MODULE_NAME, + 'module' => ShopController::NAME, 'type' => PermissionType::READ, 'state' => PermissionState::SHOP, ], diff --git a/Controller/Controller.php b/Controller/Controller.php index d9220c0..29051b9 100755 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -34,7 +34,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - public const MODULE_PATH = __DIR__ . '/../'; + public const PATH = __DIR__ . '/../'; /** * Module version. @@ -42,7 +42,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - public const MODULE_VERSION = '1.0.0'; + public const VERSION = '1.0.0'; /** * Module name. @@ -50,7 +50,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string * @since 1.0.0 */ - public const MODULE_NAME = 'Shop'; + public const NAME = 'Shop'; /** * Module id. @@ -58,7 +58,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var int * @since 1.0.0 */ - public const MODULE_ID = 1007700000; + public const ID = 1007700000; /** * Providing.