mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
XML data loader to request for credentials
SVN:trunk[986]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user