If you wish to use Compilation (System -> Tools -> Compilation) in your Magento installation in combination with our ICEPAY module, we need to make a few changes in order to get it working.
In the folder: app\code\local\Icepay\Gateway\Model we open the Standard.php file.
On line 362 we see the following functions:
public function getVarIcepayLogDir(){
//return ($this->getVarIcepayDir() . "/logs"); // To be implemented in version 2.1.0
return (dirname(__FILE__)."/../Logs");
}
public function getVarIcepaySoapDir(){
//return ($this->getVarIcepayDir() . "/soap"); // To be implemented in version 2.1.0
return (dirname(__FILE__)."/../Stored");
}
We change this to:
public function getVarIcepayLogDir(){
return ($this->getVarIcepayDir() . "/logs"); // To be implemented in version 2.1.0
//return (dirname(__FILE__)."/../Logs");
}
public function getVarIcepaySoapDir(){
return ($this->getVarIcepayDir() . "/soap"); // To be implemented in version 2.1.0
//return (dirname(__FILE__)."/../Stored");
}
Now the ICEPAY module will use the following directory to store soap and log information:
(you have to create the icepay, logs, and soap directories in /var yourself!)
<magento root>\var\icepay\logs // For Logging
<magento root>\var\icepay\soap // For soap information