From 1e9d392b4aa4472ea2d14a60e412885db856a7bc Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Wed, 13 Aug 2008 00:14:31 +0000 Subject: [PATCH] Merged [47107]: Added audit logging hook. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60567 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index e3cb06f9..b0b2cd13 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -101,6 +101,9 @@ class LeftAndMain extends Controller { return; } + // Audit logging hook + if(empty($_REQUEST['executeForm']) && !Director::is_ajax()) $this->extend('accessedCMS'); + Requirements::css('cms/css/typography.css'); Requirements::css('cms/css/layout.css'); Requirements::css('cms/css/cms_left.css');