1 | <?php |
||
2 | |||
3 | namespace Apps\Controller\Admin; |
||
4 | |||
5 | |||
6 | use Extend\Core\Arch\AdminController; |
||
7 | |||
8 | /** |
||
9 | * Class Main. Admin main controller - index page, settings, file manager, security and etc. |
||
10 | * @package Apps\Controller\Admin |
||
11 | */ |
||
12 | class Main extends AdminController |
||
13 | { |
||
14 | public $type = 'app'; |
||
15 | |||
16 | // import heavy actions |
||
17 | use Main\ActionIndex { |
||
18 | index as actionIndex; |
||
19 | } |
||
20 | |||
21 | use Main\ActionSettings { |
||
22 | settings as actionSettings; |
||
23 | } |
||
24 | |||
25 | use Main\ActionUpdates { |
||
26 | updates as actionUpdates; |
||
27 | } |
||
28 | |||
29 | use Main\ActionSessions { |
||
30 | sessions as actionSessions; |
||
31 | } |
||
32 | |||
33 | use Main\ActionFiles { |
||
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
34 | files as actionFiles; |
||
35 | } |
||
36 | |||
37 | use Main\ActionAntivirus { |
||
38 | antivirus as actionAntivirus; |
||
39 | } |
||
40 | |||
41 | use Main\ActionDebugCookie { |
||
42 | debugCookie as actionDebugcookie; |
||
43 | } |
||
44 | |||
45 | use Main\ActionRouting { |
||
46 | routing as actionRouting; |
||
47 | } |
||
48 | |||
49 | use Main\ActionAddRoute { |
||
50 | addRoute as actionAddroute; |
||
51 | } |
||
52 | |||
53 | use Main\ActionDeleteRoute { |
||
0 ignored issues
–
show
|
|||
54 | deleteRoute as actionDeleteroute; |
||
55 | } |
||
56 | |||
57 | use Main\ActionCache { |
||
58 | cache as actionCache; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * Main constructor. Disable parent inheritance of typical app version checking |
||
63 | */ |
||
64 | public function __construct() |
||
65 | { |
||
66 | parent::__construct(false); |
||
67 | } |
||
68 | |||
69 | } |
||
70 |