diff --git a/docs/changelog/457.md b/docs/changelog/457.md
index 942357f26..832568af5 100644
--- a/docs/changelog/457.md
+++ b/docs/changelog/457.md
@@ -10,7 +10,7 @@ Rilis: -
-
## :hammer_and_wrench: Perbaikan
--
+- Memperbaiki kompatibilitas CodeIgniter 3: mengubah method `getResultArray()` menjadi `result_array()` di `donjo-app/Libraries/Install.php`
## :capital_abcd: Lain-lain
-
diff --git a/donjo-app/Libraries/Install.php b/donjo-app/Libraries/Install.php
index 0f183fa8e..81444e7a4 100644
--- a/donjo-app/Libraries/Install.php
+++ b/donjo-app/Libraries/Install.php
@@ -21,7 +21,7 @@ public function cek(): bool
$db = $this->CI->db->dbprefix . $this->CI->db->database;
$sql = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA=? AND TABLE_NAME <> 'impor'";
$query = $this->CI->db->query($sql, $db);
- $data = $query->getResultArray();
+ $data = $query->result_array();
return ! (count($data) !== 77);
}
diff --git a/public/.htaccess b/public/.htaccess
index cf95d4980..ae0da193b 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -1,22 +1,14 @@
-# Disable directory browsing
-Options All -Indexes
-
-
- Options +FollowSymlinks
- RewriteEngine on
-
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(index\.php|images|css|js|robots\.txt|favicon\.ico) - [L]
- RewriteRule ^(.*)$ /index.php/$1 [L,QSA,NC]
-
- RewriteCond %{HTTP:Authorization} .
- RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
-
-
- # If we don't have mod_rewrite installed, all 404's
- # can be sent to index.php, and everything works as normal.
- ErrorDocument 404 index.php
-
-
-ServerSignature Off
+# Disable directory browsing
+Options -Indexes +FollowSymLinks
+
+
+ RewriteEngine On
+ RewriteBase /
+
+ # Redirect to index.php if not a file or directory
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.*)$ index.php?$1 [L,QSA]
+
+
+ServerSignature Off