'moltran', //'assets' => 'layadmin', 'template' => 'default', 'layout' => '.content', 'replace' => array ( 'css' => '../css/', 'lib' => '../lib/', 'img' => '../img/', 'images' => '../images/', 'js' => '../js/', 'script' => '../script/', # 以下的替换主要用于合并操作(host里的merge项) 'font' => '../fonts/', ), ); if ($config['template']['assets'] == 'layadmin') { $config['template']['layout'] = ''; $config['template']['template'] = $config['template']['assets']; } return $config;