diff --git a/app/Controllers/MainController.php b/app/Controllers/MainController.php index 5d1bf78..e6751f8 100644 --- a/app/Controllers/MainController.php +++ b/app/Controllers/MainController.php @@ -36,9 +36,7 @@ class MainController } public static function videoRules() { - $_GLOBAL['rules'] = '/config/videoRules.html'; - $_GLOBAL['title'] = 'Правила видеотеки'; - Page::set('Rules'); + Page::set('VideoRules'); } public static function update() {