Mengetahui Versi Codeigniter

Untuk mengetahui pakai CI berapa, bisa dilihat disini. Atau simplenya cari file ‘codeigniter.php’ terus lihat versinya deh.. Biasanya file codeigniter.php ada di: D:\xampp\htdocs\setrkp\system\codeigniter\codeigniter.php.. *tergantung settingan localhost nya dimana juga yah.. 🙂

Inside the framework, it’s defined in ‘CI_VERSION’.

Path is system/core/CodeIgniter.php

define('CI_VERSION', '2.1.3');

Atau..

echo CI_VERSION;

The constant is globally available and is pre-filled with the release version of the code you have.

Just put the echo in an empty controller and call it in the browser to test it.

Okay.. selamat belajar. Makasih google.. makasih stackoverflow 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s