From 0cbee4b0c2a71c62635748925be1bca9352f4795 Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Sun, 22 Jan 2017 09:34:57 +1100 Subject: [PATCH] Changed init() visibility to protected --- mysite/code/PageController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysite/code/PageController.php b/mysite/code/PageController.php index fa4547d..9dd464f 100644 --- a/mysite/code/PageController.php +++ b/mysite/code/PageController.php @@ -22,7 +22,7 @@ class PageController extends ContentController private static $allowed_actions = array( ); - public function init() + protected function init() { parent::init(); // You can include any CSS or JS required by your project here.