php - OpenCart: How to add link to images -


my download.php page uses href send user custom script made, , script display images on folder user download.

however, in custom script, added: class controlleraccountdownload extends controller { public function index() {

so can use $this pointer, error comes saying script can't find class "controller"

i have strong suspicion solution go controller script , add in custom script. can me this?

tldr: how allow custom script work controller

there controlleraccountdownload class in catalog/controller/account/download.php, why not modify it?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -