Skip to content

Commit

Permalink
Modify sql conf
Browse files Browse the repository at this point in the history
  • Loading branch information
meshubhangi committed Apr 8, 2020
1 parent 112e3ff commit f57836a
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions sites/default/sqlconf.php
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; /////////////
//////////////////////////
//////////////////////////
//////////////////////////
?>

0 comments on commit f57836a

Please sign in to comment.