2014-02-11 32 views
0

我有问题使kohana使用文本框技术工作,它曾经工作过。现在我有问题,它弹出写在它在Kohana中浏览KcFinder

function openKCFinder(base) { 
window.KCFinder = { 
    callBack: function(url) { 
     $(".kc-file").val(url); 
     $(".article-thumbnail").prop("src",url); 
     window.KCFinder = null; 
    } 
}; 
window.open(base+'kcfinder/browse.php?type=files&dir=files/public', 'kcfinder_textbox', 
    'status=0, toolbar=0, location=0, menubar=0, directories=0, ' + 
     'resizable=1, scrollbars=0, width=400, height=400' 
); 
} 

基地PHP代码是Kohana的基本路径

这说明我这个

  • @copyright 2010, 2011 KCFinder Project * @license http:www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 * @link http://kcfinder.sunhater.com */ require "core/autoload.php"; $browser = new browser(); $browser->action(); ?>
+0

任何帮助吗? –

回答

0

它看起来愚蠢的错误不处理PHP脚本。

也许你指的是磁盘而不是Web服务器?

basehttp://...c:\xaamp\...\