-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreinit.php
More file actions
27 lines (22 loc) · 802 Bytes
/
Copy pathpreinit.php
File metadata and controls
27 lines (22 loc) · 802 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
<?php
// Add {BXT} DB Prefix to reduce long table names in queries
// and allow for easy module rename in future versions
$database->addPrefix('{BXT}', TABLE_PREFIX.'mod_bakery');
/**
* [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/");
/**
* [2] Backwards for the "L_" processTranslation by Stefek.
*/
if (!defined('TWIG_SHOW_MISSING_LANG_STRINGS'))
{
define('TWIG_SHOW_MISSING_LANG_STRINGS', false);
}