94 lines
3.2 KiB
PHP
94 lines
3.2 KiB
PHP
<?php
|
|
/**
|
|
* Configuration template
|
|
*
|
|
* You should use this file to obtain your custom configuration
|
|
* new parameters should be documented
|
|
*
|
|
* @copyright Copyright (c) 2011, The volkszaehler.org project
|
|
* @author Steffen Vogel <info@steffenvogel.de>
|
|
* @package default
|
|
* @license http://www.opensource.org/licenses/gpl-license.php GNU Public License
|
|
*/
|
|
/*
|
|
* This file is part of volkzaehler.org
|
|
*
|
|
* volkzaehler.org 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 3 of the License, or
|
|
* any later version.
|
|
*
|
|
* volkzaehler.org 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 volkszaehler.org. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/**
|
|
* @var string PDO driver for Doctrine DBAL
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en#getting-a-connection:driver
|
|
*/
|
|
$config['db']['driver'] = 'pdo_mysql';
|
|
|
|
/**
|
|
* @var string hostname of database server. Use 'localhost' for the machine your webserver is running on.
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en
|
|
*/
|
|
$config['db']['host'] = 'localhost';
|
|
|
|
/**
|
|
* @var string username for the database server
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en
|
|
*/
|
|
$config['db']['user'] = 'vz';
|
|
|
|
/**
|
|
* @var string password for the database server
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en
|
|
*/
|
|
$config['db']['password'] = 'demo';
|
|
|
|
/**
|
|
* @var string database name
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en
|
|
*/
|
|
$config['db']['dbname'] = 'volkszaehler';
|
|
|
|
/**
|
|
* For administration tasks (used by doctrine cli and the setup script)
|
|
* the following $['db']['admin'] settings will be merged with $config['db']
|
|
*/
|
|
//$config['db']['admin']['user'] = 'vz_admin';
|
|
//$config['db']['admin']['password'] = 'admin_demo';
|
|
|
|
/**
|
|
* @var string path of the sqlite database
|
|
* @link http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en
|
|
*/
|
|
//$config['db']['path'] = 'volkszaehler';
|
|
|
|
/**
|
|
* Vendor libs
|
|
* Set to NULL to use PHP's include path
|
|
* @var string path to vendor libs
|
|
* @link http://www.php.net/manual/en/ini.core.php#ini.include-path
|
|
*/
|
|
$config['lib']['doctrine'] = VZ_DIR . '/lib/vendor/Doctrine';
|
|
$config['lib']['jpgraph'] = VZ_DIR . '/lib/vendor/JpGraph';
|
|
|
|
/**
|
|
* Plot colors
|
|
* @var array of colors for plot series
|
|
*/
|
|
$config['colors'] = array('#83CAFF', '#7E0021', '#579D1C', '#FFD320', '#FF420E', '#004586', '#0084D1', '#C5000B', '#FF950E', '#4B1F6F', '#AECF00', '#314004');
|
|
|
|
/** @var boolean disables some optimizations. Only use it when you exactly know what you are doing. */
|
|
$config['devmode'] = FALSE;
|
|
|
|
/** @var integer set to > 0 to show debugging messages */
|
|
$config['debug'] = 0;
|
|
|
|
?>
|