Skip to content

Commit f57836a

Browse files
committed
Modify sql conf
1 parent 112e3ff commit f57836a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

sites/default/sqlconf.php

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
<?php
22
// LibreEHR
3-
// MySQL default Config
4-
// Referenced from /library/sqlconf.php.
5-
6-
global $disable_utf8_flag;
7-
$disable_utf8_flag = false;
3+
// MySQL Config
84

95
$host = 'localhost';
106
$port = '3306';
117
$login = 'libreehr';
12-
$pass = 'libreehr';
8+
$pass = 'admin123';
139
$dbase = 'libreehr';
1410

11+
global $disable_utf8_flag;
12+
$disable_utf8_flag = false;
13+
1514
$sqlconf = array();
1615
global $sqlconf;
1716
$sqlconf["host"]= $host;
1817
$sqlconf["port"] = $port;
1918
$sqlconf["login"] = $login;
2019
$sqlconf["pass"] = $pass;
2120
$sqlconf["dbase"] = $dbase;
22-
23-
//$config for default site files should never be changed.
24-
$config = 0;
25-
21+
/////////WARNING!/////////
22+
//Setting $config to = 0//
23+
// will break this site //
24+
//and cause SETUP to run//
25+
$config = 1; /////////////
26+
//////////////////////////
27+
//////////////////////////
28+
//////////////////////////
2629
?>

0 commit comments

Comments
 (0)