-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
112e3ff
commit f57836a
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
<?php | ||
// LibreEHR | ||
// MySQL default Config | ||
// Referenced from /library/sqlconf.php. | ||
|
||
global $disable_utf8_flag; | ||
$disable_utf8_flag = false; | ||
// MySQL Config | ||
|
||
$host = 'localhost'; | ||
$port = '3306'; | ||
$login = 'libreehr'; | ||
$pass = 'libreehr'; | ||
$pass = 'admin123'; | ||
$dbase = 'libreehr'; | ||
|
||
global $disable_utf8_flag; | ||
$disable_utf8_flag = false; | ||
|
||
$sqlconf = array(); | ||
global $sqlconf; | ||
$sqlconf["host"]= $host; | ||
$sqlconf["port"] = $port; | ||
$sqlconf["login"] = $login; | ||
$sqlconf["pass"] = $pass; | ||
$sqlconf["dbase"] = $dbase; | ||
|
||
//$config for default site files should never be changed. | ||
$config = 0; | ||
|
||
/////////WARNING!///////// | ||
//Setting $config to = 0// | ||
// will break this site // | ||
//and cause SETUP to run// | ||
$config = 1; ///////////// | ||
////////////////////////// | ||
////////////////////////// | ||
////////////////////////// | ||
?> |