Using Simple Invoices on BSD or Darwin

To enable reporting using SimpleInvoices on *BSD or Darwin the following changes need to be made :

For BSD :

change line 14 in $PATH/modules/reports/PHPReportsUtil.php from

$ipsep = stristr(PHP_OS,”LINUX”)?”:”:”;”; to $ipsep = stristr(PHP_OS,”BSD”)?”:”:”;”;

For Darwin :

change line 14 in $PATH/modules/reports/PHPReportsUtil.php from

$ipsep = stristr(PHP_OS,”LINUX”)?”:”:”;”; to $ipsep = stristr(PHP_OS,”Darwin”)?”:”:”;”;

Obviously, should your OS return a different value to LINUX/BSD/Darwin this should be reflected in the change.

Looking at the source tree, this file doesn't seem to exist any more. Is this page no longer applicable?



Links: Frequently Asked Questions | help