• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

#2
http://lmgtfy.com/?q=codeigniter+version
Reply

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

Easily confused ...ancient wisdom ...
Reply

#4
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.