Posted On: Feb 22, 2018
Here are simple steps to check the version of the CodeIgniter Framework.
In CodeIgniter version of the framework is defined in /system/core/CodeIgniter.php
Simply open that file and search for CI_VERSION. you will see something like below.
In controller you can simply print it
You can use CI_VERSION constant to check installed version of CodeIgniter
There are different versions available in Codeigniter from version 1.7.2 to 2.0.3. You may also find few differences between class definitions of these versions. When someone has developed any website on the Codeigniter framework and you need to remove or add functions then there is a need of knowing which version has been used by the developer.
To check the version of Codeigniter framework there are two methods that you can use,
Method 1: You can access the file
Method 2: In any file view of index.php type the below-mentioned code
<?php echo CI_VERSION; ?>
You will get the output with the current version of Codeigniter.
Never Miss an Articles from us.