Add a tool to merge all invoices in one PDF

This commit is contained in:
Laurent Destailleur
2009-04-09 21:53:53 +00:00
parent 996add6dde
commit 55aa8bc4bc
5 changed files with 280 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ if (eregi('([^\\\/]+)$',$script_file,$reg)) $script_file=$reg[1];
$path=eregi_replace($script_file,'',$_SERVER["PHP_SELF"]);
if (substr($sapi_type, 0, 3) == 'cgi') {
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
echo "Error: You are using PH for CGI/Web. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
exit;
}