选择语言 :

 Core_Controller_File::action_join

内部调用合并文件

null Core_Controller_File::action_join( )
File: ./core/controllers-system/file.controller.php
public function action_join()
{
    # 目录
    $dir = $this->arguments[0];

    if ( !isset(File::$dir[$dir]) )
    {
        # 目录不允许操作
        $this->show_error('目录不允许操作');
    }

    if (!$this->arguments[1])
    {
        $this->show_error('缺少参数');
    }

    # 文件
    $filename = File::$dir[$dir].$this->arguments[1];

    if ( File::join($filename) )
    {
        $this->show_success();
    }
    else
    {
        # 记录错误日志
        Core::log('join file('.$filename.') error.','error');
        $this->show_error('执行失败');
    }
}