Zeka Posted July 8, 2018 Posted July 8, 2018 In a method of a custom process module, I try to force file download. $http = new WireHttp(); or $http = $this->wire(new WireHttp()); Processwire namespace is defined in the file. I'm getting Class 'Processwire\WireHttp' not found. The question is why?
netcarver Posted July 8, 2018 Posted July 8, 2018 Not sure, but have you tried "ProcessWire" rather than "Processwire"
LostKobrakai Posted July 8, 2018 Posted July 8, 2018 1 minute ago, netcarver said: Not sure, but have you tried "ProcessWire" rather than "Processwire" Class and function names are case insensitive in php.
Zeka Posted July 8, 2018 Author Posted July 8, 2018 ?♂️ Atom autocomplete is awesome. @LostKobrakai, @netcarver Thanks guys, really.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now