--- BrewBlogger2.3.2/brewblogger/Connections/config.php +++ BrewBlogger2.3.2/brewblogger/Connections/config.php @@ -2,7 +2,7 @@ /*******Set up MySQL connection variables******* Generally, this line is left alone. */ -$hostname_brewblog = "localhost"; +$hostname_brewblog = getenv("DB_HOST"); /* Change the word root to the username for your database (generally the same as your login code for your web hosting company). @@ -10,21 +10,21 @@ For example, if your username is fred then the line should read $username_brewblog = "fred". */ -$username_brewblog = ""; +$username_brewblog = getenv("DB_USER"); /* INSERT YOUR PASSWORD BETWEEN THE DOUBLE-QUOTATION MARKS (""). For example, if your password is flintstone then the line should read $password_brewblog = "flintsone". */ -$password_brewblog = ""; +$password_brewblog = getenv("DB_PASSWD"); /* The following line is the name of your MySQL database you set up already. If you haven't set up the database yet, please refer to http://www.brewblogger.net/ for setup instructions. */ -$database_brewing = ""; +$database_brewing = getenv("DB_SCHEMA"); /* This line strings the information together and connects to MySQL. @@ -57,6 +57,6 @@ ****************************************************************************** */ -$images_dir = ""; +$images_dir = "/var/www/html/label_images"; ?> \ No newline at end of file