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

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

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

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

问题:
( q& g8 W; v  e: K$ e2 f- `4 |在使用ZEN主题目录下的STARTERKIT开发包创建新主题后,在后台管理时总看到如下提示:
' c2 P; `' a) n0 E+ e* v5 D4 z/ a0 j6 R+ E! _! ~- L, w8 q: _# q3 P
For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on
8 N: H1 y# f! @+ x" U# {- A, {production websites.+ x0 b0 G0 ~& E9 u) f' W

9 `# C2 o& N% [) ^! ^8 J/ q4 m* W  o但点击“turn off this feature"链接,会跳转到自定义主题配置页面,但没有关闭这个feature的选项。

原因:/ d9 \# }' T, I% e7 {
这是因为没有将theme-settings.php中的STARTERKIT替换成新主题名称的缘故


4 H1 S* ~0 W' N+ d8 }) \

摘自:方医生798

0 }+ `' `, u3 _' ?4 @0 y

4 X/ {, p9 E2 m, D' {
* g6 W( k; S; w7 `
1 \7 C) P( {/ x

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

GMT+8, 12-29-2025 09:43 , Processed in 0.259905 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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