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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

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

问题:$ v5 M2 E, N) D+ O3 N
在使用ZEN主题目录下的STARTERKIT开发包创建新主题后,在后台管理时总看到如下提示:
  F' |; o4 d; E
3 x5 b. b) \$ V: P1 x0 ^For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on
5 x7 i5 M  F/ B* ~  W* |1 cproduction websites.
$ [) c: n$ T. D7 H2 `% [4 H
, j, _; X" ]+ i0 g% D但点击“turn off this feature"链接,会跳转到自定义主题配置页面,但没有关闭这个feature的选项。

原因:2 g2 j' e9 l. n* w" ~' [) r0 Y; F
这是因为没有将theme-settings.php中的STARTERKIT替换成新主题名称的缘故

/ L  `$ V2 |" X, y

摘自:方医生798


3 v5 C9 Z, y- `9 X- n5 U
; k" Y2 C* A' S3 B6 b2 y. z1 N4 s' P- q* B

. {$ `" x/ e: F

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

GMT+8, 2-15-2025 02:07 , Processed in 0.330462 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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