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(); ?>
任何幫助嗎? –