<?php
/*
  后台smarty配置文件
*/
  define('BASH_PATH',$_SERVER['DOCUMENT_ROOT'].'blog/');
  define('SMARTY_PATH','smarty/');
  require_once BASH_PATH.SMARTY_PATH.'Smarty.class.php';
  $smarty=new Smarty;
  $smarty->template_dir= BASH_PATH.'templates/admin/';//设置后台的相关目录配置
  $smarty->compile_dir= BASH_PATH.'templates_c/admin/';
  $smarty->config_dir= BASH_PATH.'config/admin/';
  $smarty->cache_dir= BASH_PATH.'cache/admin';
?>