これは私のbrowse.phpです
$base = APPPATH.'includes/kcfinder/';
require $base.'core/uploader.php';
require $base.'core/browser.php';
require $base.'core/autoload.php';
require $base.'core/types/type_img.php';
require $base.'core/types/type_mime.php';
require $base.'lib/class_gd.php';
require $base.'lib/class_input.php';
require $base.'lib/class_zipFolder.php';
require $base.'lib/helper_dir.php';
require $base.'lib/helper_file.php';
require $base.'lib/helper_httpCache.php';
require $base.'lib/helper_path.php';
require $base.'lib/helper_text.php';
$browser = new browser();
$browser->action();
これは私のjoiner.phpです
$base = APPPATH.'includes/kcfinder/';
require $base.'core/uploader.php';
require $base.'core/browser.php';
require $base.'core/autoload.php';
require $base.'core/types/type_img.php';
require $base.'core/types/type_mime.php';
require $base.'lib/class_gd.php';
require $base.'lib/class_input.php';
require $base.'lib/class_zipFolder.php';
require $base.'lib/helper_dir.php';
require $base.'lib/helper_file.php';
require $base.'lib/helper_httpCache.php';
require $base.'lib/helper_path.php';
require $base.'lib/helper_text.php';
$files = glob(dirname(__FILE__).'/*.js');
sort($files);
....