Jump to content

Programmatically Enabling Maintenance Mode


Fabiano Antunes

Recommended Posts

I'm currently running a fresh install of version 1.6.1.12.

Enabling/disabling maintenance mode via back office works fine.

 

I'm interested in enabling/disabling maintenance mode automagically, so that full server backups can run with the store offline.  I have tried setting PS_SHOP_ENABLE to '0' and '1', back and forth directly in the database, but it seems to produce no effect.

 

Has anyone managed to perform this before or could provide me with the necessary steps/guidance to produce the results I expect?

 

Thanks in advance for any helpful information on this process.

Link to comment
Share on other sites

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
×
×
  • Create New...