Welcome Guest, Not a member yet? Register   Sign In
New to CodeIgniter - how do I know what version is installed?
#1

Hi,

I'm new to CodeIgniter; taking over an undocumented project which I'm trying to reverse engineer - so I know which documentation to read, how do I figure out the version of CI installed (it is an old application).

Thanks

n
Reply
Reply
#3

Thanks - for anyone else finding this topic; it's in the file: system/core/CodeIgniter.php

Easily confused ...ancient wisdom ...
Reply
#4

(This post was last modified: 08-29-2018, 11:35 PM by Marcel.)

Look for const in system/core/CodeIgniter.php:

Mine is :

const CI_VERSION = '3.1.8';

CodeIgniter 2 looks a little different

define('CI_VERSION', '2.1.0');

you can also echo in php

<?php
echo CI_VERSION;
?>

hope this Helps
Reply
#5

If you want to know the CodeIgniter version you can go in two ways
1. One is
<?php echo CI_VERSION; ?>
2. Second is
Another way is go to your system/core/CodeIgniter.php path and then check to define('CI_VERSION', '2.1.4');
A R INFOTECH
No SEO spam
Reply
#6

Thanks all for the help!

Cheers

Easily confused ...ancient wisdom ...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB