Jump to content
Monnierta

How to stock in a variable, the current maintenance mod ?

Recommended Posts

Hello,

I would like to know if it's possible to get the maintenance mod (true/false) ? And if it's possible, how ?

Thank you for replies

Share this post


Link to post
Share on other sites

If you are looking for a good response you need a better and explained question.

Regards!

Share this post


Link to post
Share on other sites

i wanted to say, is it possible to know if the prestashop is in maintenance mod. Is there a variable in prestashop to know that? if yes how can i get the value of this variable

Share this post


Link to post
Share on other sites

Yes, you can check it with:

Configuration::get('PS_SHOP_ENABLE');

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More