use /var/www/conf
This commit is contained in:
parent
93680320c7
commit
4a84c81ca6
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ function getGlobalOptions() {
|
|||
$mysql_conn_string = "mysql:host=localhost;dbname=giftreg";
|
||||
$mysql_username = "giftreg";
|
||||
$mysql_password = "cn3Malk";
|
||||
if (file_exists('/conf/phpgiftreg.conf')) {
|
||||
$ini_file = parse_ini_file('/conf/phpgiftreg.conf');
|
||||
if (file_exists('/var/www/conf/phpgiftreg.conf')) {
|
||||
$ini_file = parse_ini_file('/var/www/conf/phpgiftreg.conf');
|
||||
if (isset($ini_file['mysql_conn_string'])) {
|
||||
$mysql_conn_string = $ini_file['mysql_conn_string'];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue