-
Notifications
You must be signed in to change notification settings - Fork 2
/
Application.php
50 lines (43 loc) · 1.01 KB
/
Application.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* @brief Dev Toolbox: Base Application Class
* @author -storm_author-
* @copyright -storm_copyright-
* @package Invision Community
* @subpackage Dev Toolbox: Base
* @since 02 Apr 2018
* @version -storm_version-
*/
namespace IPS\toolbox;
use IPS\Application;
/**
* Dev Toolbox: Base Application Class
*/
class _Application extends Application
{
public static $toolBoxApps = [
'toolbox',
'toolbox',
'dtproxy',
'dtprofiler',
];
/**
* @var string
*/
protected static $baseDir = \IPS\ROOT_PATH . '/applications/toolbox/sources/vendor/';
protected static $loaded = \false;
public static function loadAutoLoader(): void
{
if ( static::$loaded === \false ) {
static::$loaded = \true;
require static::$baseDir . '/autoload.php';
}
}
/**
* @inheritdoc
*/
protected function get__icon()
{
return 'wrench';
}
}