2014-02-11 7 views
0

kohana를 kcfinder와 함께 작업하는 것이 textbox 기술을 사용하여 문제가 발생했습니다. 이전에는 작동 했었습니다. 지금은 그것이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 코드와 함께 팝업 문제가 그것은이

  • @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

그것은 어리석은 실수를 보이는 나에게 보여줍니다 kohana의 기본 경로

입니다 PHP 스크립트를 처리하지 않는 것.

아마 웹 서버가 아닌 디스크를 언급하고 있을까요?

basehttp://...하지 c:\xaamp\...\