config : better error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2983 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -70,7 +70,7 @@ class config
|
||||
{
|
||||
$this->selectConfFile ();
|
||||
if (!array_key_exists ($param, $this->default))
|
||||
throw new Exception ("Unknown parameter '$param'", 500);
|
||||
throw new Exception ("Unknown configuration parameter '$param'", 500);
|
||||
if (!file_exists ($this->confFile))
|
||||
{
|
||||
if (@file_put_contents ($this->confFile,
|
||||
|
||||
Reference in New Issue
Block a user