Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git] / admin / includes / fa_patch.class.inc
index d16664053fcd835987e4363e9f8b5b519b97906f..0af328f54d914c04c99cb232c7c85cbf859d91a5 100644 (file)
@@ -115,7 +115,7 @@ class fa_patch {
                $this->errors = array();
                $this->backup = null;
 
-               $this->save_log = ini_set('error_log', dirname(__FILE__).'/../../tmp/upgrade.'.$this->cur_company.'.log');
+               $this->save_log = ini_set('error_log', VARLOG_PATH.'/upgrade.'.$this->cur_company.'.log');
                $this->log_error(sprintf(_("Upgrade started for company %s."), $this->cur_company), 'Info');
 
                if (!set_global_connection($this->cur_company))