This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-10-10 12:41:15 -04:00
parent 8ac8e50691
commit c3f74fca4b
3 changed files with 3 additions and 7 deletions

View File

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

View File

@@ -33,8 +33,6 @@ $oProcess = new Process();
$oProcess->dir = $dir;
$oProcess->sort = $sort;
//$memcache = & PMmemcached::getSingleton( config("system.workspace") );
$memkey = 'no memcache';
$memcacheUsed = 'not used';
$totalCount = 0;