Which Version of Codeigniter I am using?

#Which version of CodeIgniter am I currently using?


Yes, the constant CI_VERSION will give you the current CodeIgniter version number.

CodeIgniter 2, it's defined in /system/core/CodeIgniter.php

For example,

echo CI_VERSION; // echoes something like 2.2.1

check the file system/core/CodeIgniter.php
Please follow and like us: