Browse Source

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

devel
Jonathan Rosenbaum 7 years ago
parent
commit
2d12b59786
  1. 8
      Connections/YBDB.php

8
Connections/YBDB.php

@ -1,4 +1,6 @@
<?php
// DO NOT EDIT - USE Connections/local_configurations instead
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
@ -6,5 +8,9 @@ $hostname_YBDB = "enter_hostname";
$database_YBDB = "enter_schema";
$username_YBDB = "enter_username";
$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);
?>

Loading…
Cancel
Save