source: trunk/config.sample.php@ 344

Last change on this file since 344 was 344, checked in by chronos, 13 years ago
  • Upraveno: Google mapa sítě přetvořena na systémový modul.
  • Přidáno: Nyní jsou podporovány virtuální adresy v URL pomocí apache modulu rewrite a nastavení v .htaccess.
File size: 1.4 KB
Line 
1<?php
2
3$IsDeveloper = in_array($_SERVER['REMOTE_ADDR'], array('127.0.0.1'));
4
5$Config = array
6(
7 'Database' => array
8 (
9 'Host' => 'centrala',
10 'User' => 'root',
11 'Password' => '',
12 'Database' => 'is',
13 'Prefix' => '',
14 'Charset' => 'utf8',
15 ),
16 'Web' => array
17 (
18 'Style' => 'simple',
19 'FormatHTML' => false,
20 'Charset' => 'utf-8',
21 'Host' => 'localhost',
22 'RootFolder' => '',
23 'Description' => 'Komunitní počítačová síť',
24 'Title' => 'Síť',
25 'Admin' => 'Admin',
26 'AdminEmail' => 'admin@localhost',
27 'ShowSQLError' => false,
28 'ShowSQLQuery' => false,
29 'ShowPHPError' => false,
30 'ShowRuntimeInfo' => false,
31 'ErrorLogFile' => '/var/www/html/dev/centrala/www/php_script_error.log',
32 'WebcamPassword' => '',
33 'WebcamRefresh' => 5,
34 'UserSupport' => 1,
35 'UploadFileFolder' => 'files',
36 'News' => array
37 (
38 'DaysAgo' => 30,
39 'Count' => 5,
40 ),
41 'GoogleMapsApiKey' => '',
42 'ItemsPerPage' => 50,
43 'VisiblePagingItems' => 20,
44 ),
45 'Finance' => array
46 (
47 'MainUserId' => 1,
48 ),
49 'MainRouter' => array
50 (
51 'HostName' => 'localhost',
52 'UserName' => 'admin',
53 'Password' => '',
54 'InetInterface' => 'ether1',
55 'LocalInterface' => 'ether2',
56 'ConnectTimeout' => 5,
57 'MangleRuleSubgroupMinPrefix' => 28,
58 ),
59);
60
61?>
Note: See TracBrowser for help on using the repository browser.