Simon Whittaker Posted 8 hours ago Posted 8 hours ago Hi all, I seem to be locked out of editing or accessing the home template on my site, which also seems to be blocking me from seeing the main admin page tree. I'd changed the template scheme to https only, which it was on previously with no issues, so can only assume its that, but as I cant access teh template I can't revert it. Is there another way to get it back to how it was?
wbmnfktr Posted 6 hours ago Posted 6 hours ago <?php namespace ProcessWire; // site/templates/home.php // reset protocol/schema for template $templates->get('home')->set('https', -1)->save(); this should set it to http only. Be careful and try first with a not so imported project. Tested with the latest ProcessWire 3.0.264
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