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
Post a Comment