XPressME Integration Kit

Trac

Changeset 727


Ignore:
Timestamp:
May 4, 2011, 6:26:39 PM (13 years ago)
Author:
toemon
Message:

ImpressCMS Ver1.3対応 Fixed#398

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/class/config_from_xoops.class.php

    r697 r727  
    122122                $array_file = file($this->xoops_mainfile_path); 
    123123                $pattern = '^\s*define\s*\(\s*(\'[^\']+\'|"[^"]+")\s*,\s*([^\s]+.*)\s*\)\s*;'; 
    124                 $impress_include_pattern = '^\s*(include_once|include)\s*\(\s*XOOPS_TRUST_PATH\s*.\s*[\'"]([^\'"]+)[\'"]\s*\)'; 
     124                $impress_include_pattern = '^\s*(include_once|include)\s*[\(\s]\s*XOOPS_TRUST_PATH\s*.\s*[\'"]([^\'"]+)[\'"]\s*[\)\s]\s*;'; 
    125125                $external_define_file_pattern = '^\s*(include_once|include|require_once|require_once)\s*\((.*mainfile\.php.*)\)'; 
    126126                for ($i = 0 ; $i <count($array_file) ; $i++){ 
Note: See TracChangeset for help on using the changeset viewer.