- Implemented Os class for retrieving OS information. - Added Pin class for getting PIN width. - Created Platform class for fetching platform details and version. - Developed SerialNumber class to retrieve device serial number. - Introduced Ssr class for SSR information retrieval. - Implemented Time class for setting and getting device time. - Added User class for user management including setting, getting, clearing, and removing users. - Created Util class with various utility functions for command handling and data processing. - Implemented Version class for fetching device version. - Added WorkCode class for retrieving work code information. - Set up Composer autoloading for the ZK library.
12 lines
447 B
PHP
12 lines
447 B
PHP
<?php
|
|
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_USER_NAME","antrian");
|
|
// DEFINE("DB_USER_NAME","appproject");
|
|
DEFINE("DB_USER_NAME","apphcm");
|
|
DEFINE('DB_USER_PASS',"\$ppHCMTT#2024"); //pmmr
|
|
?>
|