Compare commits

...

16 Commits

15 changed files with 4 additions and 2663 deletions

View File

@ -2,8 +2,8 @@
if(preg_match("/libdefine.php/i", $_SERVER['PHP_SELF'])){header("location: index.php");die;}
// ==== My SERVER CONFIG
DEFINE("DB_HCM","dbhcm");
// DEFINE("DB_HOST_NAME","localhost");
DEFINE("DB_HOST_NAME","192.168.1.4");
DEFINE("DB_HOST_NAME","localhost");
// DEFINE("DB_HOST_NAME","192.168.1.4");
// DEFINE("DB_USER_NAME","antrian");
// DEFINE("DB_USER_NAME","appproject");
DEFINE("DB_USER_NAME","apphcm");

File diff suppressed because one or more lines are too long

0
fixingcheckinlate.php Normal file → Executable file
View File

0
fixingcheckout.php Normal file → Executable file
View File

0
fixingcheckoutbydate.php Normal file → Executable file
View File

0
fixingr2late.php Normal file → Executable file
View File

0
getattsync.php Normal file → Executable file
View File

0
getattsync2.php Normal file → Executable file
View File

0
getattsyncbydate.php Normal file → Executable file
View File

0
getdatadevices.php Normal file → Executable file
View File

0
getdatadevices2.php Normal file → Executable file
View File

0
getdatadevicesbydate.php Normal file → Executable file
View File

0
getdatadevicesbyip.php Normal file → Executable file
View File

2
getdatadevicesbylogs.php Normal file → Executable file
View File

@ -7,7 +7,7 @@ class LogController
// $ppHCMTT#2024
public function fn_getconn(){
$pdo = new PDO("mysql:host=192.168.1.4;dbname=dbhcm", "apphcm", "\$ppHCMTT#2024");
$pdo = new PDO("mysql:host=localhost;dbname=dbhcm", "apphcm", "\$ppHCMTT#2024");
return $pdo;
}
public function selectquerySP($sql){

2
getdatadevicesbylogsbydates.php Normal file → Executable file
View File

@ -7,7 +7,7 @@ class LogController
// $ppHCMTT#2024
public function fn_getconn(){
$pdo = new PDO("mysql:host=192.168.1.4;dbname=dbhcm", "apphcm", "\$ppHCMTT#2024");
$pdo = new PDO("mysql:host=localhost;dbname=dbhcm", "apphcm", "\$ppHCMTT#2024");
return $pdo;
}
public function selectquerySP($sql){