Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.137.171.71
<?php
class parseIni
{
//Start : Constructor
function __construct($aobj_context)
{
session_start();
$this->aobj_context=$aobj_context;
$aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
$this->ini_path = $aobj_context->main_src."/custom_src/error_message.ini";
$this->user_id = $_SESSION['user_id'];
}
//End : Constructor
function getErrorMessage()
{
$ini_array = parse_ini_file($this->ini_path, true);
$valid_message = $ini_array[$this->valid_module_name][$this->valid_system_name];
return $valid_message;
}
}
?>
|