2 small improvements on Module and AccueilModules
This commit is contained in:
@@ -80,7 +80,7 @@ class Module
|
||||
* Enregistre le paramètre dans le conf
|
||||
*/
|
||||
public function setParam($class, $key, $value) {
|
||||
echo 'setting :'.$key.' as '.$value.' in the '.$class.'\'s module';
|
||||
// echo 'setting :'.$key.' as '.$value.' in the '.$class.'\'s module';
|
||||
$xmla = simplexml_load_file('../'.AccueilModules::CONFIG_FILE);
|
||||
|
||||
$path = $xmla->xpath("//item[@id='".$class."']");
|
||||
|
Reference in New Issue
Block a user