www/config.php.dist

Sun, 12 May 2019 15:16:35 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 12 May 2019 15:16:35 +0200
changeset 359
98354ef399cd
parent 185
4c25db9e8102
permissions
-rw-r--r--

Lot's of improvements for recipes and products database load and save. Insert missing yeast tolerance field for old products and recipes. Recipe locked and calc_acid fields coverted to integer. In recipe edit screen removed the Print button. It is now included in the export screen. Added recipe export to forum screen.

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