CodeIgniter Forums

Full Version: How can i tell what version of CI i'm running if i deleted the changelog
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]johnwbaxter[/eluser]
I've stupidly forgotten what version of CI i'm running and i've also deleted the changelog.

How err... would i go about finding out what version i'm running?

El Forum

[eluser]AgentPhoenix[/eluser]
At any point you can echo out the constant CI_VERSION and that'll show you. If you don't want to go that avenue, you can look in ./system/codeigniter/CodeIgniter.php and you'll find the constant definition in there with the version number right after the comment block.

El Forum

[eluser]johnwbaxter[/eluser]
You are, quite literally, the man (or girl of course).

Cheers.

El Forum

[eluser]AgentPhoenix[/eluser]
Haha, man. Glad I could help.