<?php
// Config class
// Date: 2012-06-12

class Config
{

  var $Database = array(
    'Host' => 'localhost',
    'User' => 'root',
    'Password' => '',
    'Database' => 'phpvpsadmin',
    'Prefix' => '',
    'Charset' => 'utf8',
    'MangosPrefix' => '',
  );
  
  var $Style = 'default';
  var $Web = array(
    'Title' => 'PHPVPSAdmin',
    'Charset' => 'utf-8',
    'Host' => 'localhost',
    'BaseURL' => '',
    'AdminEmail' => 'admin@localhost',
    'Authors' => 'maron',
    'ShowSQLQuery' => true,
    'ShowSQLError' => true,
    'ShowPHPError' => true,
    'ShowRuntimeInfo' => false,
    'ItemsPerPage' => 40,
    'TempFolder' => '../tmp/',
    'VisiblePagingItems' => 20,
	'Style' => 'style.css',
    'Script' => 'global.js',
    'Icon' => 'favicon.ico', 
    'Language' => 'cs',  
  );
  
  
  function __construct()
  {
	if ($this->Web['ShowPHPError']) {
		ini_set('display_errors',1);
		error_reporting(E_ALL);
	}
  }
}
?>
