-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpweather-default.php
44 lines (43 loc) · 1.95 KB
/
phpweather-default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/*
* @author Anakeen
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License
* @package WEBDESK
*/
/*
* Freedom service configuration for phpweather
*/
/******************************************************************/
/* General Options */
/******************************************************************/
/* The following options have been changed: */
$this->properties['verbosity'] = '3';
$this->properties['icao'] = 'LFBO';
$this->properties['pref_units'] = 'only_metric';
$this->properties['language'] = 'fr';
$this->properties['use_proxy'] = false;
// AVEC PROXY pour récupération des données (http)
// $this->properties['use_proxy'] = true;
// $this->properties['proxy_host'] = 'proxy.domain.com';
// $this->properties['proxy_port'] = '3128';
// $this->properties['fetch_method'] = 'fsockopen';
/******************************************************************/
/* Database Options */
/******************************************************************/
/* The following options have been changed: */
$this->properties['db_type'] = 'pgsql';
$this->properties['db_pconnect'] = true;
$this->properties['db_hostname'] = 'localhost';
$this->properties['db_port'] = 5432;
$this->properties['db_username'] = 'anakeen';
$this->properties['db_password'] = 'anakeen';
$this->properties['db_database'] = 'phpweather';
$this->properties['db_metars'] = 'pw_metars';
$this->properties['db_tafs'] = 'pw_tafs';
$this->properties['db_stations'] = 'pw_stations';
$this->properties['db_countries'] = 'pw_countries';
/******************************************************************/
/* Rendering Options */
/******************************************************************/
/* All options are at their default values. */
?>