Jump to content

Recommended Posts

Posted

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?

Posted
<?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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...