This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-10-06 17:21:21 -04:00
parent 958e1255a8
commit 216e2dca28
151 changed files with 402 additions and 373 deletions

View File

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