roykin/modules/erporder/Mocks/ErpTools.php

8 lines
238 B
PHP

<?php
class ErpTools
{
public static function logError($param, $text)
{
file_put_contents(_PS_ROOT_DIR_.'/log/erptools_error_erp_fake_order_id' , print_r(array('params'=>$param, 'text'=>$text), true), FILE_APPEND);
}
}