XPressME Integration Kit

Trac


Ignore:
Timestamp:
Apr 26, 2011, 3:38:22 PM (14 years ago)
Author:
toemon
Message:

Windows フィルシステムでディレクトリのis_writable()が正常に取得できないので代替え処理を行う

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/xpress_block_header.php

    r683 r719  
    1818                                $xml = str_replace('<?xml version="1.0" ?>', '<?xml version="1.0" encoding="EUC-JP" ?>' , $xml); 
    1919                        } 
    20                         xpress_cache_write($mydirname,$xml_name,$xml); 
     20                        if(cache_is_writable()) 
     21                                xpress_cache_write($mydirname,$xml_name,$xml); 
    2122        } 
    2223        function xpress_block_header_cache_read($mydirname) 
Note: See TracChangeset for help on using the changeset viewer.