ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 7136


Ignore:
Timestamp:
May 11, 2008, 4:36:06 AM (11 years ago)
Author:
ebihara
Message:

#2140:xhtml_style.php に Etag を導入

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/xhtml_style.php

    r7130 r7136  
    88require_once OPENPNE_WEBAPP_DIR . '/init.inc';
    99require_once 'smarty_plugins/function.t_img_url_skin.php';
     10require_once 'Etag.php';
    1011
    1112$custom_css = p_common_c_siteadmin4target_pagename('inc_custom_css');
     
    2324    9 => $old_colors['bg_10'], // (9)左メニュー枠色
    2425);
     26
     27$etag_key = md5(OPENPNE_SKIN_THEME . $custom_css . serialize($decoration_config) . serialize($colors));
     28$etag =& new Etag($etag_key, @filemtime(__FILE__));
     29if ($etag->etagCheck()) {
     30    exit;
     31}
    2532
    2633function getSkin($name)
Note: See TracChangeset for help on using the changeset viewer.