source: trunk/Install/deb/debian/conf/Config.php

Last change on this file was 957, checked in by chronos, 16 months ago
  • Added: Store request URL into Log table.
  • Fixed: Some warnings for invalid inputs.
File size: 2.2 KB
Line 
1<?php
2
3$IsDeveloper = array_key_exists('REMOTE_ADDR', $_SERVER) and in_array($_SERVER['REMOTE_ADDR'], array('127.0.0.1'));
4
5$Config['SystemPassword'] = sha1(rand(1000000, 100000000));
6$Config['Database']['Host'] = 'localhost';
7$Config['Database']['User'] = 'isp-central';
8$Config['Database']['Password'] = 'password';
9$Config['Database']['Database'] = 'isp-central';
10$Config['Database']['Prefix'] = '';
11$Config['Database']['Charset'] = 'utf8';
12$Config['Web']['Style'] = 'new';
13$Config['Web']['FormatHTML'] = '0';
14$Config['Web']['Charset'] = 'utf-8';
15$Config['Web']['RootFolder'] = '/isp-central';
16$Config['Web']['Host'] = 'localhost';
17$Config['Web']['Title'] = 'Internet network';
18$Config['Web']['Description'] = 'ISP network management interface';
19$Config['Web']['Admin'] = 'Admin';
20$Config['Web']['AdminEmail'] = 'admin@localhost';
21$Config['Web']['ErrorLogFile'] = 'php_script_error.log';
22$Config['Web']['WebcamPassword'] = '';
23$Config['Web']['WebcamRefresh'] = '5';
24$Config['Web']['UserSupport'] = '1';
25$Config['Web']['UploadFileFolder'] = 'files/';
26$Config['Web']['News']['DaysAgo'] = '30';
27$Config['Web']['News']['Count'] = '5';
28$Config['Web']['News']['DirectoryId'] = '1';
29$Config['Map']['GoogleMapsApiKey'] = '';
30$Config['Map']['DefaultLatitude'] = '0';
31$Config['Map']['DefaultLongitude'] = '0';
32$Config['Map']['DefaultZoom'] = '15';
33$Config['Web']['ItemsPerPage'] = '50';
34$Config['Web']['VisiblePagingItems'] = '20';
35$Config['Web']['ShowSQLError'] = '0';
36$Config['Web']['ShowSQLQuery'] = false;
37$Config['Web']['ShowPHPError'] = true;
38$Config['Web']['ShowRuntimeInfo'] = '0';
39$Config['Web']['IntranetSubnets'] = array('127.0.0.1');
40$Config['Finance']['MainUserId'] = '1';
41$Config['Finance']['MainSubjectId'] = '1';
42$Config['Finance']['DirectoryId'] = '1';
43$Config['Finance']['Rounding'] = 0;
44$Config['MainRouter']['HostName'] = '1.2.3.4';
45$Config['MainRouter']['UserName'] = 'admin-ssh';
46$Config['MainRouter']['Password'] = 'password';
47$Config['MainRouter']['DeviceId'] = 441;
48$Config['MainRouter']['InetInterface'] = 'ether_wan';
49$Config['MainRouter']['LocalInterface'] = 'ether_lan';
50$Config['MainRouter']['ConnectTimeout'] = '5';
51$Config['MainRouter']['MangleRuleSubgroupMinPrefix'] = '28';
52$Config['API']['UserName'] = 'admin-api';
53$Config['API']['Password'] = 'password';
54
55
Note: See TracBrowser for help on using the repository browser.