0xV3NOMx
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 : 18.118.19.247


Current Path : /var/www/html/cuk/orms_wait/admin/
Upload File :
Current File : //var/www/html/cuk/orms_wait/admin/cconfig.php

<?php

  define("APP_NAME_G","development");
  define("APP_LANDPAGE_G","app.php");
  define("APP_PATH_G", dirname($_SERVER["SCRIPT_FILENAME"]));
  define("APP_SRC_G", APP_PATH_G . "/src");
  define("APP_LIB_G", APP_PATH_G . "/libs");
  define("APP_DB_G", APP_LIB_G . "/adodb5");
  define("MM_DB","avni_mm");
  define("FIN_DB","avni_fin");
  define("FIN_FOLDER","avni_fin");
  define("MM_FOLDER","avni_mm");
  define("INR_NAME_PICFORMAT", "xx,xx,xx,xxx.xx");
  
  class CConfig
  {
    public $mstr_host;
    public $mstr_user;
    public $mstr_password;
    public $mstr_db;
    public $mbool_debug;
  function __construct($abool_debug = false)
    {
		/* $this->mstr_host = "localhost";  
		$this->mstr_user = "root";
		$this->mstr_password = "";
		$this->mstr_db = "orms";	
		$this->mbool_debug = $abool_debug;      
		ini_set("magic_quotes_gpc", 0); */
		
    $this->mstr_host = "97.74.228.93"; 
    $this->mstr_user = "logisys3_logu";
    $this->mstr_password = "Logisys@2106";
    $this->mstr_db = "logisys3_orms";	
    $this->mbool_debug = $abool_debug;      
    ini_set("magic_quotes_gpc", 0); 
		
		
    }
  static function CreateNewDbContext($db_name="logisys3_orms")
	{
	 
		require_once("src/customappcontext.php");
		$live_aobj_context=new LiveContext();
		$live_aobj_context->Initialize($db_name);
		$live_aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC);
		return $live_aobj_context;
	}	

  }
?>