-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitialize.php
More file actions
33 lines (28 loc) · 804 Bytes
/
Copy pathinitialize.php
File metadata and controls
33 lines (28 loc) · 804 Bytes
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
<?php
declare(strict_types=1);
/**
*
* @package WBCE - admintools
* @authors Kant (Aldus)
* @version 1.0.0
* @platform WBCE 1.6.x
* @license CC BY-SA 4.0
* @license_terms https://creativecommons.org/licenses/by-sa/4.0/
*
*/
if (!defined('WB_PATH'))
{
header('Location: ../../index.php');
die();
}
/**
* [1] Just to make sure the WBCE autoloader will find the module classes
* (As this one line is missing in the "inizialize" file of the root.)
*/
WbAuto::AddDir(WB_PATH."/modules/");
/**
* [1.1] Just to make sure the WBCE autoloader will find the frontend-template
* classes and also the theme ones.
* (As this one line is also missing in the "inizialize" file of the root.)
*/
WbAuto::AddDir(WB_PATH."/templates/");