www/config.php.dist

Sun, 02 Jun 2019 12:48:54 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 02 Jun 2019 12:48:54 +0200
changeset 392
544d7d0183b2
parent 185
4c25db9e8102
permissions
-rw-r--r--

Added 15 fields to the recipes table. Added 18 fields to the products table. These are calculated values that are now stored in the database so export programs can use these values without calculating them again. Product and recipe print have water and mash schedule added. Product print has brewday results added if the brewday is over. The ingredients layout changed in the product and recipe prints.

<?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