summaryrefslogtreecommitdiffstats
path: root/frontends/php/conf
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-31 14:06:36 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-31 14:06:36 +0000
commit217de40b505ac934176227535eb67e2b5bfdb4c6 (patch)
tree33e338abb5ab292f0e3fb24cfdb263780ff6c325 /frontends/php/conf
parentfa96bd3f54454a541668d187d5c028a2a93febbe (diff)
downloadzabbix-217de40b505ac934176227535eb67e2b5bfdb4c6.tar.gz
zabbix-217de40b505ac934176227535eb67e2b5bfdb4c6.tar.xz
zabbix-217de40b505ac934176227535eb67e2b5bfdb4c6.zip
- [DEV-104] added maintenance mode (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5296 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/conf')
-rw-r--r--frontends/php/conf/maintenance.inc.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/frontends/php/conf/maintenance.inc.php b/frontends/php/conf/maintenance.inc.php
new file mode 100644
index 00000000..ec9651ce
--- /dev/null
+++ b/frontends/php/conf/maintenance.inc.php
@@ -0,0 +1,31 @@
+<?php
+/*
+** ZABBIX
+** Copyright (C) 2000-2008 SIA Zabbix
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation; either version 2 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+**/
+?>
+<?php
+
+// Maintenance mode
+//define('ZBX_DENY_GUI_ACCESS',1);
+
+// IP range, who allowed to connect to FrontEnd
+//$ZBX_GUI_ACCESS_IP_RANGE = array('');
+
+// MSG showed on Warning screen!
+//$_REQUEST['warning_msg'] = 'ZABBIX is under maintenance.';
+?> \ No newline at end of file