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:
parent
650682f81e
commit
85d1099076
@ -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
|
||||||
|
10
YBDB.php
10
YBDB.php
@ -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);
|
|
||||||
?>
|
|
Loading…
x
Reference in New Issue
Block a user