<?php
$server = $_SERVER['HTTP_HOST'];
$dom = explode('.', $server);
$dom = $dom[0];
$server = $dom;

$dBase = 'tridaya6_db';
if($server == 'trial'){
    $dBase = 'tridaya6_trial';    
}

$config['dbConnection.dbServer'] 	= "PgSql";
$config['dbConnection.Host'] 		= "127.0.0.1";
$config['dbConnection.Port'] 		= "5432";
$config['dbConnection.UserName'] 	= "tridaya6";
$config['dbConnection.Password'] 	= "Sejahtera-2026#";
$config['dbConnection.DataBase'] 	= $dBase;


$config['baseUrl'] = "https://".$server.".tridaya.rasio.id/";

$config['baseDomain'] = "www.rasiojaya.com";

$config['toleransiHari'] = "30";


class Rasio_Acl
{
  public $View;
  public $Insert;
  public $Update;
  public $Delete;
  public $Pending;
  public $DataAll;
  public $Cetak;
  public $Excel;
  public $PDF;
  public $Group;
  public $Akses;
  public $Adjust;
}