I want my add-on to grab data from a file and put it into a database. I put a file into src/addons/AV/AddonName and in my public controller I open it with
PHP:
. And controller doesn't see it. What's the scoop? Wrong path? Or I should place a file in some certain place?
Please advise.
Читать далее...
PHP:
$file = fopen('file.csv', 'r');
. And controller doesn't see it. What's the scoop? Wrong path? Or I should place a file in some certain place?
Please advise.
Читать далее...