From 535a3c3ef9eb03c40f1b1f49592672036d81f0f9 Mon Sep 17 00:00:00 2001 From: Wian Drs Date: Thu, 28 May 2026 13:55:07 +0700 Subject: [PATCH] Update Config dan Database update koneksi db dan base_url dan htaccess untuk kebutuhan devlopment --- .htaccess | 2 +- application/config/config.php | 4 ++-- application/config/database.php | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.htaccess b/.htaccess index 796d3b6..7257c88 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,6 @@ RewriteEngine On - RewriteBase / + RewriteBase /accounting_dev # Redirect requests to index.php RewriteCond %{REQUEST_FILENAME} !-f diff --git a/application/config/config.php b/application/config/config.php index 93230af..87143cb 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -23,8 +23,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | a PHP script and you can easily do that on your own. | */ -// $config['base_url'] = 'http://localhost/keuangan/'; -$config['base_url'] = 'https://accounting.radiq.my.id/'; +$config['base_url'] = 'http://localhost/accounting_dev/'; + /* |-------------------------------------------------------------------------- diff --git a/application/config/database.php b/application/config/database.php index deb42fb..3c75eaa 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -76,10 +76,10 @@ $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => '103.242.106.56', // tanpa port - 'port' => 3309, // port PostgreSQL - 'username' => 'keuangan', - 'password' => '@P4ssw0rd', - 'database' => 'keuangan', + 'port' => 3310, // port PostgreSQL + 'username' => 'accointing_dev', + 'password' => 'accointing_dev', + 'database' => 'accointing_dev', 'dbdriver' => 'mysqli', // WAJIB: driver PostgreSQL 'dbprefix' => '', 'pconnect' => FALSE,