diff options
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index dd7dd44e7..9c71a153d 100644 --- a/lib/action.php +++ b/lib/action.php @@ -93,7 +93,10 @@ class Action extends HTMLOutputter // lawsuit */ function showPage() { - $this->startHTML(); + if (Event::handle('StartShowHTML', array($this))) { + $this->startHTML(); + Event::handle('EndShowHTML', array($this)); + } $this->showHead(); $this->showBody(); $this->endHTML(); |