forked from kevinowino869/mitrobill
Price Before Discount unrequired
This commit is contained in:
6
init.php
6
init.php
@ -47,7 +47,8 @@ if (!file_exists($root_path . 'config.php')) {
|
||||
}
|
||||
|
||||
if (!file_exists($root_path . File::pathFixer('system/orm.php'))) {
|
||||
die($root_path . "orm.php file not found");
|
||||
echo $root_path . "orm.php file not found";
|
||||
die();
|
||||
}
|
||||
|
||||
$DEVICE_PATH = $root_path . File::pathFixer('system/devices');
|
||||
@ -59,7 +60,8 @@ $PAYMENTGATEWAY_PATH = $root_path . File::pathFixer('system/paymentgateway');
|
||||
$UI_PATH = 'ui';
|
||||
|
||||
if (!file_exists($UPLOAD_PATH . File::pathFixer('/notifications.default.json'))) {
|
||||
die($UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found"));
|
||||
echo $UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found");
|
||||
die();
|
||||
}
|
||||
|
||||
require_once $root_path . 'config.php';
|
||||
|
Reference in New Issue
Block a user