Merged [47107]: Added audit logging hook.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60567 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-08-13 00:14:31 +00:00
parent f194c19349
commit 1e9d392b4a

View File

@ -101,6 +101,9 @@ class LeftAndMain extends Controller {
return; return;
} }
// Audit logging hook
if(empty($_REQUEST['executeForm']) && !Director::is_ajax()) $this->extend('accessedCMS');
Requirements::css('cms/css/typography.css'); Requirements::css('cms/css/typography.css');
Requirements::css('cms/css/layout.css'); Requirements::css('cms/css/layout.css');
Requirements::css('cms/css/cms_left.css'); Requirements::css('cms/css/cms_left.css');