I read the instructions on the provided link more carefully.
now you can use function subdirAsset instead of asset and subdirMix instead of mix inside your blade files.
Right, so I’d either have to change all blade files or the laravel core. Both would render the app nonupdateable.
So maybe the devs of the project would implement this. It’ll be great. I am not deep enough into laravel to help yet, but maybe I’ll find some time to learn laravel on a deeper level.
it doesn’t work for me. maybe my apache2 sever block is the issue. if you don’t mind to share what yours look like please. I really don’t wanna sacrifices a domain for invoice ninja. accessing with mydomain .com/ninja is my goal
i have ninja in an isolated folder /test/ninja then i symbolic link it to var/www/html folder. i get a white page with the invoice ninja background image
I hope you’re still active on this forum. I have scoured the internet for a solution, and you stated you got it working despite others saying it isn’t possible.
I managed to get InvoiceNinja running in a subfolder by manually adding /public/index.php to the URL (the setup process resulted in several 404s, but in the end it did work).
The problem, however, is that some things don’t work, for example “Download PDF” on an invoice, the PDF preview when you click “Send email” and other things. The reason for this is that, for some reason, it tries to request stuff from the subdirectory/client/ in stead of subdirectory/public/client/
And this problem occurs for other subfolders of the /public/ folder as well. For example, the link/button that customers receive in the automatic email to view the invoice also doesn’t work, because it’s missing the public folder in the URL as well.