Changeset 2757 for trunk/plugins/event_tracer
- Timestamp:
- Oct 16, 2008, 2:38:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/event_tracer/event_list.php
r2254 r2757 17 17 { 18 18 $files = array_merge($files, get_php_files($path.'/'.$node, $to_ignore)); 19 19 20 20 } 21 21 if ( is_file($path.'/'.$node) ) … … 44 44 $code = preg_replace( '#\/\*.*\*\/#m', '', $code); 45 45 $code = preg_replace( '#\/\/.*#', '', $code); 46 46 47 47 $count = preg_match_all( 48 48 '#[^a-zA-Z_$-]trigger_(action|event)\s*\(\s*([^,)]+)#m', … … 58 58 } 59 59 60 $sort= isset($_GET['sort']) ? $_GET['sort'] : 1;60 $sort= isset($_GET['sort']) ? (int)$_GET['sort'] : 1; 61 61 usort( 62 62 $events,
Note: See TracChangeset
for help on using the changeset viewer.