Finding version of kohana used in project [duplicate]
Possible Duplicate:
Where is Kohana Version
I'm new to both PHP and kohana. I need to figure out what version of kohana is in use with a particular project. Looking though the .php files, there aren't headers with the version. I see a lot of documentation in markdown format, but have yet to find one that spells out the version.
The version of kohana I know is 3.0.0 or greater.
Try echo Kohana::VERSION
it will show you the version number.
It can be found here in the documentation: http://kohanaframework.org/3.2/guide/api/Kohana#constant:VERSION
See system/classes/kohana/core.php
. There will be something in this form:
// Release version and codename
const VERSION = '3.2.0';
精彩评论