From b94b25a6cb002a069ca5e0da863afdc5d1bc43f8 Mon Sep 17 00:00:00 2001 From: m1 Date: Wed, 17 Feb 2016 17:12:00 +0000 Subject: [PATCH] 1.1.1 --- CHANGELOG.md | 5 +++++ src/Vars.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecdf28c..202dd88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All Notable changes to `Vars` will be documented in this file +## 1.1.1 - 2016-02-17 + +### Fixes +- `_globals` are now cached + ## 1.1.0 - 2016-02-05 ### Added diff --git a/src/Vars.php b/src/Vars.php index 93fdc34..f3464ca 100644 --- a/src/Vars.php +++ b/src/Vars.php @@ -210,6 +210,7 @@ private function loadFromCache() 'loaders', 'resources', 'replacements', + 'globals', ); $loaded_vars = get_object_vars($this->cache->getLoadedVars()); @@ -224,7 +225,7 @@ private function loadFromCache() } /** - * Checks if the base and cache paths have been set, if not set then will use the $resource as the base path + * Checks if the base and cache paths have been set, if not\ set then will use the $resource as the base path * * @param string $resource The resource to use to set the paths if they haven't been set */