From 39bfbad1e98764f9515e4e6c1e53c3c61e65f530 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 1 Aug 2014 11:42:17 +0000 Subject: [PATCH] The params function of config don't display the default param, but return it in array git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1650 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index f58b491..b8820d5 100644 --- a/config.php +++ b/config.php @@ -31,7 +31,7 @@ class config /** List all the parameters configurable in the software */ public function params () { - return print_r ($this->default, TRUE); + return $this->default; } /** Get the value of the provided parameter recorded in .php file