1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

You may now use Connections/local_configurations.php for configurations.

This commit is contained in:
Jonathan Rosenbaum 2017-07-15 18:14:44 +00:00
parent c54bd12f16
commit 2d12b59786

View File

@ -1,4 +1,6 @@
<?php <?php
// DO NOT EDIT - USE Connections/local_configurations instead
# FileName="Connection_php_mysql.htm" # FileName="Connection_php_mysql.htm"
# Type="MYSQL" # Type="MYSQL"
# HTTP="true" # HTTP="true"
@ -6,5 +8,9 @@ $hostname_YBDB = "enter_hostname";
$database_YBDB = "enter_schema"; $database_YBDB = "enter_schema";
$username_YBDB = "enter_username"; $username_YBDB = "enter_username";
$password_YBDB = "enter_password"; $password_YBDB = "enter_password";
$YBDB = mysql_pconnect($hostname_YBDB, $username_YBDB, $password_YBDB) or trigger_error(mysql_error(),E_USER_ERROR); if(file_exists('Connections/local_configurations.php')) {
require_once('local_configurations.php');
}
$YBDB = mysql_pconnect($hostname_YBDB, $username_YBDB, $password_YBDB) or trigger_error(mysql_error(),E_USER_ERROR);
?> ?>