Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Site Active

Variable: $cfg['site']['isActive']

Effected class: global

Config type: main

Type of data: integer|string

Platform: 2v

How to call: basic::$cfg['site']['isActive']

Description:
Set if site active or not - If it will be open for visits or closed. We can edit the page that shows the site is closed here: architecture\application\views\sil\siteIsDown.php. Notice - User with authLevel >= 5 can view the site even if site is not active.
Available options:
0 - Closed.
1 - Open.
Url - Redirect.
example: 1
If all is normal and users can visit.
How to set (example):
Code:
example: 2
If we want to redirect to another url when site is down.
How to set (example):
Code:
Info Panel
Roll it!   ⇔