Changeset 2566:9bf417837888 for admin/help.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/help.php
r2166 r2566 23 23 return $ret; 24 24 }; 25 25 26 26 global $__resources; 27 27 if (empty($__resources['help'])) { 28 28 return $ret; 29 29 } 30 30 31 31 $content = ''; 32 32 $title = ''; … … 37 37 continue; 38 38 } 39 39 40 40 if (!isset($__resources['help'][$v])) { 41 41 continue; … … 45 45 continue; 46 46 } 47 47 48 48 $fc = file_get_contents($f); 49 49 if (preg_match('|<body[^>]*?>(.*?)</body>|ms',$fc,$matches)) { … … 56 56 } 57 57 } 58 58 59 59 if (trim($content) == '') { 60 60 return $ret; 61 61 } 62 62 63 63 $ret['content'] = $content; 64 64 if ($title != '') { … … 99 99 100 100 dcPage::close(); 101 ?>
Note: See TracChangeset
for help on using the changeset viewer.