From c612b903c748367b76a98797299d39e512ed7d03 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Mon, 17 Feb 2014 00:52:48 +0000 Subject: [PATCH] Flattened the settings array pretty much everywhere I can think of, also updated the tests to reflect that --- config.php | 38 ++++++-------- library/Zepto/Helper.php | 54 ++++++++------------ library/Zepto/Zepto.php | 47 ++++------------- tests/Zepto/HelperTest.php | 51 ++++++++----------- tests/Zepto/ZeptoTest.php | 102 ++++++++++++++++--------------------- 5 files changed, 113 insertions(+), 179 deletions(-) diff --git a/config.php b/config.php index b0d06d7..75bbafd 100644 --- a/config.php +++ b/config.php @@ -1,28 +1,22 @@ array( - 'environment' => 'dev', - 'content_dir' => 'content', - 'plugins_dir' => 'plugins', - 'templates_dir' => 'templates', - 'default_template' => 'base.twig', - 'content_ext' => array('.md', '.markdown'), - 'plugins_enabled' => true - ), - 'site' => array( - 'site_root' => 'Site root URL goes here', - 'site_title' => 'Zepto', - 'date_format' => 'jS M Y', - 'excerpt_length' => '50', - 'nav' => array( - 'class' => 'nav', - 'dropdown_li_class' => 'dropdown', - 'dropdown_ul_class' => 'dropdown-menu', - 'dropdown_li_markup' => '
  • %s