XML data loader to request for credentials

SVN:trunk[986]
This commit is contained in:
Romain Quetiez
2010-11-29 10:19:33 +00:00
parent 540eb5f272
commit c428e07c4b
2 changed files with 15 additions and 15 deletions

View File

@@ -46,13 +46,16 @@ class XMLDataLoader
protected $m_aWarnings;
protected $m_iCountCreated;
public function __construct($sConfigFileName)
public function __construct($sConfigFileName = null)
{
$this->m_aKeys = array();
$this->m_aObjectsCache = array();
$this->m_oChange = null;
$this->m_sCacheFileName = KEYS_CACHE_FILE;
$this->InitDataModel($sConfigFileName);
if ($sConfigFileName != null)
{
$this->InitDataModel($sConfigFileName);
}
$this->LoadKeysCache();
$this->m_bSessionActive = true;
$this->m_aErrors = array();