Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-08-01 07:11:14 +00:00
parent e823248ff7
commit 9fef934b71
29 changed files with 87 additions and 78 deletions

View File

@@ -3,10 +3,10 @@
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
/** Manage the configurations of the module done by administrator in a config
/** Manage the configurations of the module done by administrator in a config
file
It is based on the module configuration defaults
POC :
POC :
$config = new config();
$config->default = array ("param"=>"default",
"param2"=>array (1,2,3),
@@ -32,7 +32,6 @@ class config
public function params ()
{
return print_r ($this->default, TRUE);
}
/** Get the value of the provided parameter recorded in .php file
@@ -44,7 +43,7 @@ class config
throw new Exception ("Unknown parameter '$param'");
if (!file_exists ($this->confFile))
{
if (@file_put_contents ($this->confFile,
if (@file_put_contents ($this->confFile,
"<?php\r\n\$conf = array ();\r\n")
=== FALSE)
throw new Exception (sprintf (