1: | <?php declare(strict_types=1); |
2: | /** |
3: | * Copyright (C) Apis Networks, Inc - All Rights Reserved. |
4: | * |
5: | * Unauthorized copying of this file, via any medium, is |
6: | * strictly prohibited without consent. Any dissemination of |
7: | * material herein is prohibited. |
8: | * |
9: | * For licensing inquiries email <licensing@apisnetworks.com> |
10: | * |
11: | * Written by Matt Saladna <matt@apisnetworks.com>, April 2018 |
12: | */ |
13: | |
14: | |
15: | /** |
16: | * Class Reseller_Module |
17: | * |
18: | * Hierarchical account management |
19: | * |
20: | * Reserved for future use. |
21: | */ |
22: | class Reseller_Module extends Module_Skeleton |
23: | { |
24: | const ADMIN_HOME = '/etc/opcenter/webhost'; |
25: | // @var string under ADMIN_HOME |
26: | const ADMIN_CONFIG = '.config/'; |
27: | |
28: | /** |
29: | * Reseller support enabled for server |
30: | * |
31: | * @return bool |
32: | */ |
33: | public function enabled(): bool |
34: | { |
35: | return RESELLER_ENABLED; |
36: | } |
37: | } |