国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal问题] For easier theme development, the theme registry is being rebuilt on every page

[复制链接]
发表于 1-29-2012 15:48 | 显示全部楼层 |阅读模式

问题:
) g4 M* i: d/ O/ J$ U# _在使用ZEN主题目录下的STARTERKIT开发包创建新主题后,在后台管理时总看到如下提示:: e5 t- M1 z* S$ |5 B
/ P( {0 x8 C6 w) k; p* @7 p3 i
For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on
0 V- n! z. |& M6 Cproduction websites.9 P8 ?; o1 S/ v9 |# v& I5 I

, x( p# c) ]3 t3 k% R* h( X但点击“turn off this feature"链接,会跳转到自定义主题配置页面,但没有关闭这个feature的选项。

原因:! ]8 n$ D$ Q% i& x
这是因为没有将theme-settings.php中的STARTERKIT替换成新主题名称的缘故


0 f$ [+ u& p7 @4 q  y

摘自:方医生798


% A7 W" t5 z" W& q; F1 O* U
% e/ I  K1 u( m( ~8 p$ d& z5 q2 k' w5 |: b! C% X' W, S3 D6 y
" G0 x1 p$ z& a; {5 G, b1 i

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 6-17-2025 13:17 , Processed in 0.277285 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表