Changeset 278 for trunk/xpressme_integration_kit/include/xpress_render.php
- Timestamp:
- Jun 15, 2009, 9:49:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_render.php
r272 r278 5 5 { 6 6 global $xpress_config; 7 8 $pattern = "<body[^>]*?>(.*)<\/body>"; 9 $body_cut = preg_replace("/".$pattern."/s" , '' , $contents); 10 11 7 12 $pattern = "<head[^>]*?>(.*)<\/head>"; 8 preg_match("/".$pattern."/s", $ contents, $head_matches);13 preg_match("/".$pattern."/s", $body_cut, $head_matches); 9 14 $head_str = $head_matches[1]; 10 15
Note: See TracChangeset
for help on using the changeset viewer.