mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
Fix case sensitivity in invoice template file paths
This commit is contained in:
parent
d372bf4711
commit
c45e19189a
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ class Invoice
|
|||
throw new Exception("Invoice ID is required");
|
||||
}
|
||||
|
||||
$templatePath = 'pages/custom_invoice.html';
|
||||
$templatePath = 'pages/Custom_Invoice.html';
|
||||
if (!file_exists($templatePath)) {
|
||||
$templatePath = 'pages/default_invoice.html';
|
||||
$templatePath = 'pages/Default_Invoice.html';
|
||||
}
|
||||
|
||||
$template = file_get_contents($templatePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue