XPressME Integration Kit

Trac


Ignore:
Timestamp:
Oct 25, 2009, 8:00:30 PM (15 years ago)
Author:
toemon
Message:

WordPressMUを使用したときサイトマップ用のインターフェース(include/sitemap.plugin.php)で存在しないテーブルを参照してしまうバグ修正 Fixed #229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XPressMU/xpressme_integration_kit/include/general_functions.php

    r417 r423  
    155155} 
    156156 
     157// Get Prefix from Table name for WordPressMU  
     158if (!function_exists('get_multi_prefix')){ 
     159        function get_multi_prefix($full_table_name,$table_name = ''){ 
     160                $pattern = '/'. $table_name . '/'; 
     161                return preg_replace($pattern,'',$full_table_name); 
     162        } 
     163} 
    157164?> 
Note: See TracChangeset for help on using the changeset viewer.