Kohana 3.3无法从子目录工作 [英] Kohana 3.3 Not working from Subdirectory

查看:67
本文介绍了Kohana 3.3无法从子目录工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Kohana 3.3,他们没有考虑文件夹/文件的大小写敏感性(它们大写了一些目录/文件),因此当他们开始切换到新的Kohana时,这将使一些人发疯(就像我所做的那样) ).

Kohana 3.3, they didn't take into account case-sensitivity on folders/files (they capitalized some directories/files) so this is going to drive some folks nuts when they start switching to the new Kohana (just like I did).

在解决此问题之前,我切换回Kohana 3.2.

I switched back to Kohana 3.2 until this has been fixed.

非常感谢您抽出宝贵的时间阅读我关于这个愚蠢问题的大量文章,我希望这个答案将来可以挽救可怜的人的生命=)

Thank you very much for taking time in reading my huge post I had about this silly problem, and I hope this answer saves a poor souls life in the future =)

推荐答案

他们没有考虑文件夹/文件的大小写敏感性"是不正确的.该更改是一个有意识的决定,已记录,该指南位于"

It is not correct that "they didn't take into account case-sensitivity on folders/files." The change was a conscious decision, as documented in the guide under "Upgrading from v3.2".

Kohana 3.3为 PHP框架互操作组

Kohana 3.3 adds partial support for the PHP Framework Interop Group's PSR-0 standard. PHP framework developers are encouraged to follow this standard to simplify interaction between frameworks.

PSR-0的要求之一是类名和文件名匹配.以前,Kohana使用标题大小写类名,但使用小写文件名.现在,两个比赛的情况.如果您看的话,您会发现所有 Kohana类文件都是大写的.

One of the requirements of PSR-0 is that the class names and file names match. Previously, Kohana used Title Case class names but lowercase file names. Now, the case of both matches. If you look, you will see that all Kohana class files have been uppercased.

在将来的版本中将不会修复"此问题,因为小写的文件名已损坏",并且现在已被修复.

This will not be "fixed" in a future release because the lowercase filenames were "broken" and now they are fixed.

通常,Kohana有时会在版本之间引入重大更改,但是您始终应该能够在指南中找到它们.

In general, Kohana sometimes introduces breaking changes between versions, but you should always be able to find them in the guide.

这篇关于Kohana 3.3无法从子目录工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆