cifirecms/cifirecms

CiFireCMS Framework

dev-master 2023-04-25 07:33 UTC

This package is auto-updated.

Last update: 2024-04-25 09:43:25 UTC


README

CiFireCMS adalah platform CMS open source gratis Indonesia dibuat menggunakan framework CodeIgniter3. Dengan konsep yang menarik dan mudah digunakan oleh siapa saja.

Minimum System Requirements

+--------------+----------------+
|  System      |  Version       |
+--------------+----------------+
|  Web server  |  Apache 2.4.x  |
|  PHP         |  7.3.x, 5.6.x  |
|  MySQL       |  5.7.x         |
|  MariaDB     |  10.3.x        |
+--------------+----------------+

PHP Extension

+--------------+----------+
|  Extension   |  Config  |
+--------------+----------+
|  pdo_mysql   |  ON      |
|  pdo_sqlite  |  ON      |
|  pdo_sqlite  |  ON      |
|  json        |  ON      |
|  fileinfo    |  ON      |
|  intl        |  ON      |
+--------------+----------+

Install via composer

  • composer create-project cifirecms/cifirecms:dev-master cifirecms-project

Permission

Ubah user permission folder-folder berikut menjadi 775.

cifirecms
├── public
│   ├── temp    --> 775
│   ├── thumbs  --> 775
└── └── uploads --> 775

.htaccess

Standard .htaccess configuration.

RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Untuk menentukan web anda di akses dengan alamat http atau https silahkan ubah konfigurasi file .htaccess dan tambahkan kode berikut di bawah baris kode RewriteEngine On.

Redirect HTTP to HTTPS

# non-www to www.
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

# www to non-www.
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]

Redirect HTTPS to HTTP

# non-www to www.
RewriteCond %{HTTPS} on [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ http://www.%1%{REQUEST_URI} [L,NE,R=301]

# www to non-www.
RewriteCond %{HTTPS} on [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,NE,R=301]

Environment

Jika web sudah siap di online-kan silahkan ubah kode pada .env cari code CI_ENV=development edit menadi CI_ENV=production

Backend

  • Untuk mengakses halaman administrator kunjungi link http://your-web-domain/l-admin
  • Masukan Username dan Password seperti pada awal instalasi.

Official Links

License

CiFireCMS is licensed under the MIT License.