Monday, February 20, 2012

Disable Symfony Application for Maintenance

  1. Put check_lock: true inside the (ex.) prod section of apps/frontend/config/settings.yml.
  2. Create an unavailable.php file in the root config dir (project folder/config).
  3. Clear the cache (symfony cc).
  4. Run symfony project:disable frontend prod to disable the prod environment of the frontend application. To enable, just change the disable word to enable.

No comments:

Post a Comment