upd +0.4.3
This commit is contained in:
parent
43cb653ee2
commit
45c180c40e
@ -31,7 +31,7 @@ class ICMLLoader {
|
|||||||
|
|
||||||
$this->PrepareSettings();
|
$this->PrepareSettings();
|
||||||
|
|
||||||
$this->fp = $this->PrepareFile($this->filename);
|
$this->fp = $this->PrepareFile($this->filename. '.tmp');
|
||||||
|
|
||||||
if ($this->isLogged) {
|
if ($this->isLogged) {
|
||||||
$this->fpLog = $this->PrepareFile($this->logFile);
|
$this->fpLog = $this->PrepareFile($this->logFile);
|
||||||
@ -57,6 +57,8 @@ class ICMLLoader {
|
|||||||
$this->CloseFile($this->fp);
|
$this->CloseFile($this->fp);
|
||||||
$this->CloseFile($this->fpLog);
|
$this->CloseFile($this->fpLog);
|
||||||
|
|
||||||
|
unlink($_SERVER["DOCUMENT_ROOT"] . $this->filename);
|
||||||
|
rename($_SERVER["DOCUMENT_ROOT"] . $this->filename. '.tmp', $_SERVER["DOCUMENT_ROOT"] . $this->filename);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -249,4 +249,15 @@ class ICrmOrderEvent {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param type $ID -- orderId
|
||||||
|
* @param type $value -- ACCOUNT_NUMBER
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
function onBeforeOrderAccountNumberSet($ID, $value) {
|
||||||
|
if(isset($GLOBALS['ICRM_ACCOUNT_NUMBER']) && $GLOBALS['ICRM_ACCOUNT_NUMBER'])
|
||||||
|
return $GLOBALS['ICRM_ACCOUNT_NUMBER'];
|
||||||
|
}
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
$arModuleVersion = array(
|
$arModuleVersion = array(
|
||||||
"VERSION" => "0.4.3",
|
"VERSION" => "0.4.3",
|
||||||
"VERSION_DATE" => "2013-10-29 15:28:00",
|
"VERSION_DATE" => "2013-10-30 16:04:00",
|
||||||
);
|
);
|
Loading…
x
Reference in New Issue
Block a user