Ignore:
Timestamp:
2012-07-22T08:26:35+02:00 (2 years ago)
Author:
moo
Message:

refactor: split extension init to sub module. TODO: compatibility regression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/htdocs/xcache.php

    r976 r1026  
    355355    phpinfo(INFO_MODULES); 
    356356    $moduleinfo = ob_get_clean(); 
    357     if (preg_match('!XCache</a></h2>(.*?)<h2>!is', $moduleinfo, $m)) { 
    358         $moduleinfo = $m[1]; 
     357    if (preg_match_all('!XCache[^<]*</a></h2>(.*?)<h2>!is', $moduleinfo, $m)) { 
     358        $moduleinfo = implode('', $m[1]); 
    359359    } 
    360360    else { 
Note: See TracChangeset for help on using the changeset viewer.