This commit is contained in:
Ricsi
2017-04-12 20:54:37 +02:00
parent 37ccb2240e
commit accb00c567
5 changed files with 9 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
ini_set('include_path', '../_class/');
include('class_sql.php');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
if ($_POST['parent_id'] == 'null') {

View File

@@ -2,7 +2,7 @@
//tag listánál ez adja vissza a keresés eredményét
ini_set('include_path', '../_class/');
include('class_sql.php');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
$filter1 = "";

View File

@@ -8,7 +8,7 @@ foreach ($_POST as $key => $value) {
}
*/
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
else $sql = new sql('bc_mysql','tollashodos','uprRscU8bGpJ','tollashodos');
if ($_POST['checked'] == "true") {