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

Leave a Reply

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