<?php
if(!defined('MOD'))  die("access die");
$html=new html();
$html->deletedir(C_P."/content/");
$html->deletedir(C_P."/acategory/");
$html->deletedir(C_P."/channel/");
$html->deletedir(C_P."/ament/");
$html->deletedir(C_P."/plugin/");
$html->deletedir(C_P."/temp/");
$html->deletedir(C_P."/cache/");
$html->deletedir(C_P."/template_c/");
qbase::createdir(C_P."/temp/");
qbase::createdir( C_P."/temp");
$html->deletedir( C_P."/config");
qbase::createdir( C_P."/config");
commonCache();
servercache();
qbase::get_object("group")->cache();
foreach($channel as $channelid=>$val){
	qbase::get_object('category', $channelid)->cache();
}
if(method_exists('cache', 'flush')) cache::flush();
clearstatcache();
$url = urldecode($_GET['location']);
qbase::showmsg("ÍøÕ¾»º´æË¢ÐÂÍê±Ï",'default',$url ? $url : "index.php?action=home");
?>
