BUG 0000 "improvements on System::getSystemConfiguration() function"
- this is a important improvement, now we can have two configurations levels 1. Global Configuration Level (workflow/engine/config/env.ini) 2. Workspace Configuration Level (.../shared/sites/some_workflow/env.ini) - improvement to read env's ini files once and store on session, - if any file has been changed (verify by checksum files) that session value is updated (removind debug print_r)
This commit is contained in:
@@ -58,10 +58,9 @@
|
||||
|
||||
// starting session
|
||||
session_start();
|
||||
echo '<pre>';
|
||||
|
||||
$config = System::getSystemConfiguration();
|
||||
print_r($config);
|
||||
print_r($_SESSION); die;
|
||||
|
||||
$e_all = defined('E_DEPRECATED') ? E_ALL & ~E_DEPRECATED : E_ALL;
|
||||
$e_all = defined('E_STRICT') ? $e_all & ~E_STRICT : $e_all;
|
||||
$e_all = $config['debug'] ? $e_all : $e_all & ~E_NOTICE;
|
||||
|
||||
Reference in New Issue
Block a user