出处:http://www.backlog.cn/index.php/forums/viewthread/20/

第1步 拷贝 index.php 和 path.php 两个文件到子域名所在的根目录下

第2步 编辑 path.php 文件

修改 $system_path 变量值,使他指向系统system路径

例如:


代码:
$system_path = "../system/";  //系统文件夹system与当前文件夹处于同一父目录

修改全局变量:


代码:
$template_group = "template_group_name"; // 模板组名称
$template = "template_name";//模板名称
$site_url = "http://www.your-site.com/subdirectory/";//将要使用的URL地址
$site_index = "index.php";//入口文件名称
$site_404 = "template_group_name/template_name"; //错误指向URL地址


还可增加全局模板变量(可选):


代码:
$global_vars = array();



代码:
$global_vars = array(
"my_weblog_name" => "news",
"my_template_group" => "display"
); // Last entry must not include the comma at the end

增加的全局模板变量可在相应模板中使用