This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-10-10 12:33:25 -04:00
parent 216e2dca28
commit 8ac8e50691
152 changed files with 416 additions and 416 deletions

View File

@@ -239,11 +239,11 @@ class PmBootstrap extends Bootstrap
public function initPropel($sys = '')
{
if (empty($sys)) {
if (! defined("SYS_SYS")) {
if (empty(config("system.workspace"))) {
throw new Exception("Error: Undefined syemtem env. constant 'SYS_SYS'");
}
$sys = config("sys_sys");
$sys = config("system.workspace");
}
// setup propel definitions and logging