www/config.php.dist

Sat, 02 Feb 2019 14:57:41 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 02 Feb 2019 14:57:41 +0100
changeset 232
daf2d9d6fa18
parent 185
4c25db9e8102
permissions
-rw-r--r--

When adding yeast the flocculation and cells fields were not added. Possible fix for double water agents in the miscs grid. Better efforts to set the initial water infuse amount. The new recipe wizzard now uses indexed fields. In recipe print fixed the yeast amount and cost.

<?php

/*
 * Check for development server
 */
if (isset($_SERVER['SERVER_NAME']) && ( strcmp($_SERVER['SERVER_NAME'], "seaport.mbse.ym") == 0))  {

	define ('DBASE_NAME', 'bms_dev');
	define ('DBASE_HOST', 'lx02');
	define ('DBASE_USER', 'bms_dev');
	define ('DBASE_PASS', 'bms_dev');
	define ('DBASE_CHARSET', 'utf8');

	define ('EMAIL_FROM', 'noreply@mbse.ym');

	define ('MQTT_HOST', 'localhost');
	define ('MQTT_PORT', 1883 );
	define ('MQTT_USER', 'mqtt_user' );
	define ('MQTT_PASS', 'mqtt_pass' );

	setlocale ( LC_TIME , 'nl_NL' );

} else {

        define ('DBASE_NAME', 'bms_dev');
	define ('DBASE_HOST', 'lx02');
	define ('DBASE_USER', 'bms_dev');
	define ('DBASE_PASS', 'bms_dev');
	define ('DBASE_CHARSET', 'utf8');

	define ('EMAIL_FROM', 'noreply@mbse.ym');

	define ('MQTT_HOST', 'localhost');
        define ('MQTT_PORT', 1883 );
        define ('MQTT_USER', 'mqtt_user' );
        define ('MQTT_PASS', 'mqtt_pass' );

	setlocale ( LC_TIME , 'nl_NL' );

}

mercurial