From a63cc5b0b971f6450c99ebff9194d1d257bf1bf1 Mon Sep 17 00:00:00 2001 From: Chris Turner Date: Mon, 18 May 2015 15:57:03 -0400 Subject: [PATCH] Set defaults for settings. --- code/extensions/FASettings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/extensions/FASettings.php b/code/extensions/FASettings.php index cb40e89..f041fab 100644 --- a/code/extensions/FASettings.php +++ b/code/extensions/FASettings.php @@ -10,6 +10,11 @@ class FASettings extends DataExtension 'UseThemeCSS' => 'boolean(1)', ); + private static $defaults = array( + 'UseCDN' => false, + 'UseThemeCSS' => false, + ); + public function updateCMSFields(FieldList $fields) { $fields->addFieldsToTab('Root.FontAwesome', array(