Topic: Domain Name in reports
I have a back office server that uses one domain name that is private, yet it seems to get printed with all the reports. Is there a way to disable that?
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Setup → Domain Name in reports
I have a back office server that uses one domain name that is private, yet it seems to get printed with all the reports. Is there a way to disable that?
If you don't want this to print, you will have to use a text-editor and enter the file /reporting/includes/pdf_report.inc.
Search for the member-function Info($params, $cols, $headers, $aligns, ...
Inside this function there is a member variable called $this->host = $_SERVER['SERVER_NAME'];
Replace this with $this->host = "what-ever-you-like" or just an empty string "".
If you use the excel reports, do the same thing in excel_report.inc.
Remember to backup your files, if you later update FrontAccounting. Then you can easily update this again.
/Joe
FrontAccounting forum → Setup → Domain Name in reports
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.