From 2f642f7f8506066546936c49523bfb00a68157b9 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 25 Jul 2015 19:54:40 +0200 Subject: [PATCH] OOPS --- _sakura/changelog.json | 16 +++++++++++++++- _sakura/components/Configuration.php | 4 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/_sakura/changelog.json b/_sakura/changelog.json index 9e070dd..76b1396 100644 --- a/_sakura/changelog.json +++ b/_sakura/changelog.json @@ -33,7 +33,8 @@ "20150704", "20150705", "20150706", - "20150707" + "20150707", + "20150725" ] @@ -1507,6 +1508,19 @@ "change": "Added post and topic count variable to the profile." } + ], + + "20150725": [ + + { + "type": "ADD", + "change": "Added stuff for Disqus SSO." + }, + { + "type": "FIX", + "change": "Make the error in getConfig return the value that can't be found." + } + ] } diff --git a/_sakura/components/Configuration.php b/_sakura/components/Configuration.php index 07c176f..2b3c175 100644 --- a/_sakura/components/Configuration.php +++ b/_sakura/components/Configuration.php @@ -83,7 +83,7 @@ class Configuration { } else {// If it doesn't exist trigger an error to avoid explosions - trigger_error('Unable to get local configuration value!', E_USER_ERROR); + trigger_error('Unable to get local configuration value "'. $key .'"', E_USER_ERROR); } @@ -126,7 +126,7 @@ class Configuration { } else { // Then return the value - trigger_error('Unable to get configuration value', E_USER_ERROR); + trigger_error('Unable to get configuration value "'. $key .'"', E_USER_ERROR); }