Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Sometimes, when performing an upgrade or other system maintenance, you will want to restrict access to Ubersmith for the duration of the maintenance window. You can do so by adding a configuration option to Ubersmith's


config.ini.php

file. This file can usually be found one directory above the Ubersmith web root, in the Ubersmith web root itself, or in the Ubersmith

include/

directory. To configure maintenance mode, add the following lines to config.ini.php, ensuring not to modify any of the other existing content:

[maintenance]
enable = 1
message = "your message here"

The message body can be anything you like, but you may want to provide a reason for your Ubersmith outage, or contact details your clients can use to reach you in the interim. Ubersmith will present this information when an admin or client goes to your main Ubersmith URL. You can disable maintenance mode by setting enable to 0.