我可以在Kohana框架中找到版本信息吗?
我在教程中看到的所有内容都反对我在应用程序中查看的内容.我认为这是一个版本问题,因为文档和我的安装之间的方法和调用略有不同.
Luc*_*sky 13
至少对于版本> = 3.0,Kohana的版本号位于system/classes/kohana/core.php.
它将采用以下形式:
// Release version and codename
const VERSION = '3.2.0';
Run Code Online (Sandbox Code Playgroud)
由于这只是一个常数,你可以通过php访问它Kohana::VERSION.
查看Kohana课程中的这些常量:
// Release version and codename
const VERSION = '3.0.8';
const CODENAME = 'großen jäger';
Run Code Online (Sandbox Code Playgroud)
所以Kohana :: VERSION和Kohana :: CODENAME.
| 归档时间: |
|
| 查看次数: |
5662 次 |
| 最近记录: |