[oxid-dev-general] Write to log

2014-05-08 Thread Ralf Kronen
Hey there, i wan't to write a file, when a customer has finished his order. my modul overrides the finalizeOrder: public function finalizeOrder( oxBasket $oBasket, $oUser, $blRecalculatingOrder = false ) { $myConfig = oxRegistry::getConfig(); $path =

Re: [oxid-dev-general] Write to log

2014-05-08 Thread Maximilian Walter
Hello Ralf, oxUtils::writeToLog() can only write inside the directory log below the shop-root. You can't use an absolute path: http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.8.5.6fd00216aba774e84700d892fe7c037753ecb0e3/oxutils_8php_source.html#l01422 You can use file_put_contents()