Allow extension of init()

This commit is contained in:
Ingo Schommer 2013-12-18 16:07:37 +01:00
parent bfb6ee04c8
commit 20efb0c6fa
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class TestSessionController extends Controller {
public function init() {
parent::init();
$this->extend('init');
$canAccess = (
!Director::isLive()