XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 23, 2008, 10:51:11 AM (15 years ago)
Author:
toemon
Message:

include/xml.phpライブラリーのD3pipeとの重複でXPressME側で重複を回避していても、モジュールのロード順番などでD3pipeが後になると、D3Pipe側で重複エラーになるので、クラス名、function名を変更することにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/xoops_block_cache.php

    r36 r42  
    55        function xpress_block_cache_write($mydirname,$block_name,$block) 
    66        { 
    7                         $xml = XML_serialize($block); 
     7                        $xml = xpress_XML_serialize($block); 
    88                        $xml_name = $block_name . '.xml'; 
    99                        xpress_cache_write($mydirname,$xml_name,$xml); 
     
    1313                        $xml_name = $block_name . '.xml'; 
    1414                        $xml_data = xpress_cache_read($mydirname,$xml_name); 
    15                         return @XML_unserialize($xml_data); 
     15                        return @xpress_XML_unserialize($xml_data); 
    1616        } 
    1717?> 
Note: See TracChangeset for help on using the changeset viewer.