-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.php
More file actions
26 lines (20 loc) · 781 Bytes
/
setup.php
File metadata and controls
26 lines (20 loc) · 781 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
<?php
set_include_path(implode(PATH_SEPARATOR,
array(
dirname(__FILE__) . '/lib/',
dirname(__FILE__),
get_include_path()
)
));
require_once('limb/core/common.inc.php');
if(file_exists(dirname(__FILE__) . '/setup.override.php'))
require_once(dirname(__FILE__) . '/setup.override.php');
lmb_package_require('cms');
lmb_env_setor('LIMB_VAR_DIR', dirname(__FILE__) . '/var/');
lmb_env_setor('LIMB_APP_MODE' , 'production');
lmb_env_setor('PRODUCT_IMAGES_DIR', dirname(__FILE__) . '/www/product_images/');
lmb_require('limb/web_app/src/controller/lmbController.class.php');
lmb_require('limb/active_record/src/lmbActiveRecord.class.php');
lmb_require('src/model/*.class.php');
lmb_require('src/toolkit/ShopTools.class.php');
lmbToolkit :: merge(new ShopTools());