Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 2796a66618dbc8218175f982217262f1 > files > 3

openvcp-web-0.3-0.rc2.2mdv2010.0.noarch.rpm

# OpenVCP Webinterface
# Copyright (C) 2006 Gerrit Wyen <gerrit@t4a.net>
#
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# 
# author  OpenVCP Team
# version 0.3.0.1
# package OpenVCP-v0.3

# Core
<OpenVCP>

	# Default language in form of xx_XX
	defaultLocale en_US
	
	# locale dir where the locale files are stored.
	# normally you havn't to change that
	localeDir %OPENVCP_ROOT%/core/locale
	
	# default modpage to call
	# normally you havn't to change that
	defaultRedirect auth
	
	# Webpath to OpenVCP
	# Empty if OpenVCP index.php is in document root
	# else /directory_name without trailing /
	webPath /ovcp_webinterface
	
	# Support Mail Addy
	# this will also be used for auto sending mails
	supportMail openvcp@lists.openvcp.org
	
	# autoload cores
	# normally you havn't to change that
	load GUI
	load DB
	load Auth
	load XML	
	load Socket
		
</OpenVCP>

# Core Module: DB
<DB>

	# Host of database
	host localhost
	
	# Database name
	db openvcp
	
	# Database user
	user root
	
	# Database passwort
	passwd 
	
	# Table prefix
	# normally you havn't to change that
	prefix openvcp_
	
	# Tables
	# normally you havn't to change that
        table TABLE_USER user
        table TABLE_USER_PRIVILEGES user_privileges
        table TABLE_USER_SETTINGS user_settings
        table TABLE_USER_SETTINGS_AVAILABLE user_settings_available
        table TABLE_USER_TEMPLATES user_templates
        table TABLE_ADMIN admin
        table TABLE_ADMIN_IMAGES admin_images
        table TABLE_ADMIN_NODES admin_nodes
        table TABLE_ADMIN_PRIVILEGES admin_privileges
        table TABLE_ADMIN_SETTINGS admin_settings
        table TABLE_ADMIN_SETTINGS_AVAILABLE admin_settings_available
        table TABLE_SESSION session
        table TABLE_NODES nodes
        table TABLE_IMAGES images
        table TABLE_NETWORK network
        table TABLE_VSERVERS vservers
        table TABLE_VSERVER_TEMPLATES vserver_templates
        table TABLE_SETTINGS settings
        table TABLE_SETTINGS_AVAILABLE settings_available
		table TABLE_LOG log
		table TABLE_MAIL_TEMPLATES mail_templates
	
</DB>

# Core Module: GUI
<GUI>

	# themes dir
	# normally you havn't to change that
	themeDir %OPENVCP_ROOT%/themes
	
	# relPath (for rel tag)
	# normally you havn't to change that
	relPath themes
	
	# default theme
	# set this to a directory name in /themes
	defaultTheme default
	
	# enable debug screen?
	# 0 this will be the safety for normal use (completely disabled)
	# 1 only when /debug param is set (when debug output is cached)
	# 2 debug screen will be always visible (when debug output is cached)
	debugMode 0
	
</GUI>

# Core Module: Auth
<Auth>

	# session timeout in minutes
	sessiontime 15
	
	# how often can a user login without suspending
	maxLoginTry 5
	
	# how long will a user be suspended from login
	suspendTime 15
	
</Auth>

# Core Module: Socket
<Socket>

	# timeout for the nodes
	# normally you havn't to change that
	timeout 1
	
</Socket>

# Core Module: Graph
<Graph>
	#define the default height of a graph
	# normally you havn't to change that
	height 150
	
	#define the default width of a graph
	# normally you havn't to change that
	width 550
</Graph>