XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 10, 2010, 4:47:23 PM (15 years ago)
Author:
toemon
Message:

グループ権限のMultiBlog対応 Fixes #298

File:
1 edited

Legend:

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

    r524 r534  
    1818                $guess_url = preg_replace('|/' . $module_name . '/.*|i', '/' . $module_name, $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 
    1919                $blog_sub_path = ''; 
    20                 if (defined('MULTISITE') && MULTISITE){ 
     20                if(function_exists('is_multisite') && is_multisite()){ 
    2121                        if ($blog_id > 1){ 
    22                                 $blog_path = '/cube_mu/modules/xpress3/toy/'; 
    2322                                $blog_sub_path = '/' .$blogname; 
    2423                        } 
Note: See TracChangeset for help on using the changeset viewer.