1
0
mirror of https://github.com/fspc/ybdb.git synced 2025-02-28 18:43:23 -05:00

Adds local_configurations.php in place of YBDB.php.

This commit is contained in:
Jonathan Rosenbaum 2017-08-12 04:04:20 +00:00
parent 650682f81e
commit 85d1099076
2 changed files with 1 additions and 11 deletions

View File

@ -14,7 +14,7 @@ WORKDIR /var/www/html
RUN rm index.html; \ RUN rm index.html; \
git clone -b devel https://github.com/fspc/Yellow-Bike-Database.git . git clone -b devel https://github.com/fspc/Yellow-Bike-Database.git .
COPY YBDB.php /var/www/html/Connections/ COPY local_configurations.php /var/www/html/Connections/
# COPY populate.sql /var/www/html/sql/ # COPY populate.sql /var/www/html/sql/
# mysql_install_db solves a problem which occurs if bikebike/bikebike has not # mysql_install_db solves a problem which occurs if bikebike/bikebike has not

View File

@ -1,10 +0,0 @@
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_YBDB = "localhost";
$database_YBDB = "ybdb";
$username_YBDB = "admin";
$password_YBDB = "yblcatx";
$YBDB = mysql_pconnect($hostname_YBDB, $username_YBDB, $password_YBDB) or trigger_error(mysql_error(),E_USER_ERROR);
?>