authentication : do not try to log an array like a string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4812 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -334,7 +334,13 @@ class authentication
|
|||||||
foreach ($serversParam as $param=>$value)
|
foreach ($serversParam as $param=>$value)
|
||||||
{
|
{
|
||||||
if ($this->debug)
|
if ($this->debug)
|
||||||
echo "Add param '$param' with value '$value' to auth$method\n";
|
{
|
||||||
|
if (is_array ($value))
|
||||||
|
echo "Add param '$param' to auth$method : ".
|
||||||
|
var_export ($value, true)."\n";
|
||||||
|
else
|
||||||
|
echo "Add param '$param' with value '$value' to auth$method\n";
|
||||||
|
}
|
||||||
$authmethod->$param = $value;
|
$authmethod->$param = $value;
|
||||||
}
|
}
|
||||||
$authmethod->connect ();
|
$authmethod->connect ();
|
||||||
|
|||||||
Reference in New Issue
Block a user