How to check codeigniter version

How to check codeigniter version?

Today in tips and tricks section, we are going to learn about how to check CodeIgniter version. CodeIgniter is one of the most popular PHP framework in current time. Lots of CodeIgniter version has been introduced in last couple of years. In each new version, they improved libraries, plugins, helpers code. If you are working as a freelance web developer and choose CodeIgniter as PHP framework, then it’s very important to check CodeIgniter version before starting project.

– Why should I check CodeIgniter version?

In CodeIgniter version 1.7.2 and 2.0.3 there have some big difference in class definition. Also they converted all plugins in to helper and removed some old PHP functions that has been deprecated. So that, why we need to know which CodeIgniter version was used by previous developer.

– Solution to check CodeIgniter version:

Go to your system folder, then go to code folder and open a file “CodeIgniter.php”. So, folder traverse sequence is

Your application folder >> system >> core >> CodeIgniter.php

Go to line no 35 in CodeIgniter.php file and you will find CodeIgniter version. Have a look screenshot.

CodeIgniter version check

Enjoy!

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*

Back To Top