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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

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

问题:
# y# f2 [: z/ S  t9 \在使用ZEN主题目录下的STARTERKIT开发包创建新主题后,在后台管理时总看到如下提示:  W/ y9 I8 F5 W  \- i+ D" ~! V
  }/ D+ s1 Z' A: B
For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on& O/ ^. A' k1 r* J/ ~
production websites.
8 ^  c- C1 J7 G+ g# y2 e, ]8 A/ l
/ O# A2 Z6 d. V3 F& O但点击“turn off this feature"链接,会跳转到自定义主题配置页面,但没有关闭这个feature的选项。

原因:# G- x& N" ?/ b, e
这是因为没有将theme-settings.php中的STARTERKIT替换成新主题名称的缘故


; \; K: P3 [; N" K# P

摘自:方医生798

; X% |) P  L9 ^8 ~  a$ `5 A
% e: y- I# F4 X( [  e0 z

9 `* P8 @+ ^% C! Y1 c' E# _4 X& a! _" j/ Y* W* I9 [2 m" W  e: L

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

GMT+8, 7-1-2025 10:48 , Processed in 0.516594 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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