Last change
on this file was 8, checked in by maron, 13 years ago |
podpora jazyků
|
-
Property svn:executable
set to
*
|
File size:
989 bytes
|
Line | |
---|
1 | <?php
|
---|
2 | // Config class
|
---|
3 | // Date: 2012-06-12
|
---|
4 |
|
---|
5 | class Config
|
---|
6 | {
|
---|
7 |
|
---|
8 | var $Database = array(
|
---|
9 | 'Host' => 'localhost',
|
---|
10 | 'User' => 'root',
|
---|
11 | 'Password' => '',
|
---|
12 | 'Database' => 'phpvpsadmin',
|
---|
13 | 'Prefix' => '',
|
---|
14 | 'Charset' => 'utf8',
|
---|
15 | 'MangosPrefix' => '',
|
---|
16 | );
|
---|
17 |
|
---|
18 | var $Style = 'default';
|
---|
19 | var $Web = array(
|
---|
20 | 'Title' => 'PHPVPSAdmin',
|
---|
21 | 'Charset' => 'utf-8',
|
---|
22 | 'Host' => 'localhost',
|
---|
23 | 'BaseURL' => '',
|
---|
24 | 'AdminEmail' => 'admin@localhost',
|
---|
25 | 'Authors' => 'maron',
|
---|
26 | 'ShowSQLQuery' => true,
|
---|
27 | 'ShowSQLError' => true,
|
---|
28 | 'ShowPHPError' => true,
|
---|
29 | 'ShowRuntimeInfo' => false,
|
---|
30 | 'ItemsPerPage' => 40,
|
---|
31 | 'TempFolder' => '../tmp/',
|
---|
32 | 'VisiblePagingItems' => 20,
|
---|
33 | 'Style' => 'style.css',
|
---|
34 | 'Script' => 'global.js',
|
---|
35 | 'Icon' => 'favicon.ico',
|
---|
36 | 'Language' => 'cs',
|
---|
37 | );
|
---|
38 |
|
---|
39 |
|
---|
40 | function __construct()
|
---|
41 | {
|
---|
42 | if ($this->Web['ShowPHPError']) {
|
---|
43 | ini_set('display_errors',1);
|
---|
44 | error_reporting(E_ALL);
|
---|
45 | }
|
---|
46 | }
|
---|
47 | }
|
---|
48 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.