Fri, 30 Nov 2018 17:40:39 +0100
Removed all calculations from the equipemnts database script and added missing fields. Added missing fields to the inventory equipemnts edit screen. Added conditional batch size calculation to the equipments editor. Added specific heat settings to the equipments editor.
2 | 1 | <?php |
2 | ||
3 | /* | |
4 | * Check for development server | |
5 | */ | |
6 | if ( strcmp($_SERVER['SERVER_NAME'], "seaport.mbse.ym") == 0) { | |
7 | ||
8 | define ('DBASE_NAME', 'bms_dev'); | |
9 | define ('DBASE_HOST', 'lx02'); | |
10 | define ('DBASE_USER', 'bms_dev'); | |
11 | define ('DBASE_PASS', 'bms_dev'); | |
12 | define ('DBASE_CHARSET', 'utf8'); | |
13 | ||
14 | define ('EMAIL_FROM', 'noreply@mbse.ym'); | |
15 | ||
16 | setlocale ( LC_TIME , 'nl_NL' ); | |
17 | ||
18 | } else { | |
19 | ||
20 | define ('DBASE_NAME', 'bms_dev'); | |
21 | define ('DBASE_HOST', 'lx02'); | |
22 | define ('DBASE_USER', 'bms_dev'); | |
23 | define ('DBASE_PASS', 'bms_dev'); | |
24 | define ('DBASE_CHARSET', 'utf8'); | |
25 | ||
26 | define ('EMAIL_FROM', 'noreply@mbse.ym'); | |
27 | ||
28 | setlocale ( LC_TIME , 'nl_NL' ); | |
29 | ||
30 | } | |
31 |