-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.php
206 lines (163 loc) · 4.94 KB
/
config.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<?php
/**
* Part of the Converter package.
*
* NOTICE OF LICENSE
*
* Licensed under the 3-clause BSD License.
*
* This source file is subject to the 3-clause BSD License that is
* bundled with this package in the LICENSE file.
*
* @package Converter
* @version 3.0.0
* @author Cartalyst LLC
* @license BSD License (3-clause)
* @copyright (c) 2011-2017, Cartalyst LLC
* @link http://cartalyst.com
*/
return array(
/*
|--------------------------------------------------------------------------
| Measurements
|--------------------------------------------------------------------------
|
| The available measurements to convert and format units.
|
*/
'measurements' => array(
/*
|--------------------------------------------------------------------------
| Area
|--------------------------------------------------------------------------
|
| The available measurements to convert and format areas.
|
*/
'area' => array(
'sqm' => array(
'format' => '1,00.00 sq m',
'unit' => 1,
),
'acre' => array(
'format' => '1,00.000 ac',
'unit' => 0.000247105,
),
),
/*
|--------------------------------------------------------------------------
| Currency
|--------------------------------------------------------------------------
|
| The available measurements to convert and format currencies.
|
*/
'currency' => array(
'usd' => array(
'format' => '$1,0.00',
),
'eur' => array(
'format' => '€1,0.00',
),
'gbp' => array(
'format' => '£1,0.00',
),
),
/*
|--------------------------------------------------------------------------
| Length
|--------------------------------------------------------------------------
|
| The available measurements to convert and format lengths.
|
*/
'length' => array(
'km' => array(
'format' => '1,0.000 km',
'unit' => 0.001,
),
'mi' => array(
'format' => '1,0.000 mi.',
'unit' => 0.000621371,
),
'm' => array(
'format' => '1,0.000 m',
'unit' => 1.00,
),
'cm' => array(
'format' => '1!0 cm',
'unit' => 100,
),
'mm' => array(
'format' => '1,0.00 mm',
'unit' => 1000,
),
'ft' => array(
'format' => '1,0.00 ft.',
'unit' => 3.28084,
),
'in' => array(
'format' => '1,0.00 in.',
'unit' => 39.3701,
),
),
/*
|--------------------------------------------------------------------------
| Weight
|--------------------------------------------------------------------------
|
| The available measurements to convert and format weights.
|
*/
'weight' => array(
'kg' => array(
'format' => '1,0.00 kg',
'unit' => 1.00,
),
'g' => array(
'format' => '1,0.00 g',
'unit' => 1000.00,
),
),
),
/*
|--------------------------------------------------------------------------
| Currency Cache Expiration Duration
|--------------------------------------------------------------------------
|
| The duration currency rates are cached in minutes.
|
*/
'expires' => 60,
/*
|--------------------------------------------------------------------------
| Currency Service Exchangers
|--------------------------------------------------------------------------
|
| Here, you may specify any number of service exchangers configurations
| your application requires.
|
*/
'exchangers' => array(
/*
|--------------------------------------------------------------------------
| Default Exchanger
|--------------------------------------------------------------------------
|
| Define here the default exchanger.
|
*/
'default' => 'native',
/*
|--------------------------------------------------------------------------
| OpenExchangeRates.org
|--------------------------------------------------------------------------
|
| Define here the OpenExchangeRates.org app id.
|
*/
'openexchangerates' => array(
'app_id' => null,
),
),
);