复制代码
UPDATE system SET status = 0 WHERE type = 'theme';
UPDATE system SET status=1 WHERE type='theme' AND (name = 'seven' OR name = 'bartik');
TRUNCATE cache;
TRUNCATE cache_block;
TRUNCATE cache_bootstrap;
TRUNCATE cache_field;
TRUNCATE cache_filter;
TRUNCATE cache_form;
TRUNCATE cache_image;
TRUNCATE cache_menu;
TRUNCATE cache_path;
TRUNCATE cache_page;
TRUNCATE cache_update;
TRUNCATE cache_views;
TRUNCATE cache_views_data;
复制代码
2 获取当前页的模版文件列表