diff options
Diffstat (limited to 'lib/exe/detail.php')
-rw-r--r-- | lib/exe/detail.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php index 7008b126f..e3c81d877 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -9,10 +9,12 @@ $ID = cleanID($INPUT->str('id')); // this makes some general infos available as well as the info about the // "parent" page $INFO = array_merge(pageinfo(),mediainfo()); -trigger_event('DETAIL_STARTED', $tmp=array()); -//close session
-session_write_close();
+$tmp = array(); +trigger_event('DETAIL_STARTED', $tmp); + +//close session +session_write_close(); if($conf['allowdebug'] && $INPUT->has('debug')){ print '<pre>'; |