CodeIgniter Forums
How to know CI version - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: How to know CI version (/showthread.php?tid=62125)



How to know CI version - lama - 06-11-2015

Hello,

I'm restarting on a project that I have made on CI 2.3, but I think that the project was updated to CI 3 when EllisLab was the owner but I'm not sure.

How can I know which CI version I'm using ?

Thanks


RE: How to know CI version - ChoiDalDal - 06-11-2015

Hello,

You should try :

<?php

echo CI_VERSION;

?>

or check the file system/core/CodeIgniter.php


RE: How to know CI version - Blair2004 - 06-11-2015

Hi,
Use CI_VERSION constant.


RE: How to know CI version - CroNiX - 06-11-2015

you should be able to 'echo CI_VERSION'. It's also define()'d at the top of /system/core/CodeIgniter.php


RE: How to know CI version - lama - 06-20-2015

2.1.4 :o

Nice tips, thanks you Big Grin