现在我正在处理一个非常奇怪而且相当简单的问题,大约2天。 我敢打赌,解决方案是显而易见的,但我只是不知道还有什么要做。PHP Kohana包含问题
我在Kohana框架中工作。 在我的C:/ wamp/www文件夹我有两个不同的网站:mysite1和mysite2。
所以我有FCKeditor的在mysite1现场工作包括这样的:
include(url::base(FALSE)."static/scripts/fckeditor/fckeditor.php"); -> include(mysite/web/admin/static/scripts/fckeditor/fckeditor.php)
和工程就像一个魅力!
好吧,我决定把FCKeditor的在mysite2,我用的是同样的命令.. ,它只是不工作,有一个埃罗消息:
没有这样的文件或目录..
我向你保证,在FCKeditor的
mysite2/web/admin/static/scripts/fckeditor/fckeditor.php
的完整路径(C:/wamp/www/mysite2/web/admin/static/scripts/fckeditor/fckeditor.php)存在路径包括作品。我只想得到include(url :: base(FALSE)。“static/scripts/fckeditor/fckeditor.php”)...
什么可能是错误的?
谢谢!
你使用哪个版本的Kohana? (Ko2,Ko3.0,Ko3.1) – Ikke 2011-02-24 07:47:36