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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

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

问题:
. b) q0 {7 ^5 P5 P在使用ZEN主题目录下的STARTERKIT开发包创建新主题后,在后台管理时总看到如下提示:5 e$ f$ L6 w/ G. ~

, B6 A* Q, S+ G& E; V) oFor easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on1 b: }: M& t) W( x
production websites.
! j/ l& s- p! [5 z: m) d+ J* f4 A6 h1 a
但点击“turn off this feature"链接,会跳转到自定义主题配置页面,但没有关闭这个feature的选项。

原因:  K1 |* B5 S  {  S
这是因为没有将theme-settings.php中的STARTERKIT替换成新主题名称的缘故

8 K- N+ Z1 H' K0 x% k) D

摘自:方医生798


% a5 ^' [, |2 |" |- P3 `9 T# q; p1 H9 ~, Y  e: i
' f3 j% ^3 V8 [; ]+ P
$ `+ {( ~! J7 |0 R! T

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

GMT+8, 7-1-2025 07:52 , Processed in 1.024364 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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