Zeka Posted July 8, 2018 Share 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? Link to comment Share on other sites More sharing options...
netcarver Posted July 8, 2018 Share Posted July 8, 2018 Not sure, but have you tried "ProcessWire" rather than "Processwire" Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 8, 2018 Share 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. Link to comment Share on other sites More sharing options...
Zeka Posted July 8, 2018 Author Share Posted July 8, 2018 ?♂️ Atom autocomplete is awesome. @LostKobrakai, @netcarver Thanks guys, really. Link to comment Share on other sites More sharing options...
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