0

我在使用文本框技术使 kohana 与 kcfinder 一起工作时遇到问题,它以前可以工作。现在我有问题它弹出用其中编写的php代码

 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'
);
}

base 是 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(); ?>
4

1 回答 1

0

不处理 PHP 脚本看起来很愚蠢。

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

basehttp://...不应该c:\xaamp\...\

于 2014-04-15T07:13:55.333 回答