How to check the version of CodeIgniter framework?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Sep 12, 2018


    2 Answers Written

  •  Sharad Jaiswal
    Answered by Mateo

    Here are simple steps to check the version of the CodeIgniter Framework.

    In CodeIgniter version of the framework is defined in /system/core/CodeIgniter.php

    Simply open that file and search for CI_VERSION. you will see something like below.

    define(‘CI_VERSION’, '3.0.6');

    In controller you can simply print it

    echo CI_VERSION;
  •  Sharad Jaiswal
    Answered by Satyam Gollapalli

    You can use CI_VERSION constant to check installed version of CodeIgniter

    echo CI_VERSION;

Please Login or Register to leave a response.

Related Questions

Ask a Question