Fix: backward compatibility

This commit is contained in:
Regis Houssin 2012-03-20 15:14:37 +01:00
parent 507e9af5cb
commit ea65c45b2c

View File

@ -237,6 +237,7 @@ class Conf
// For backward compatibility
// TODO Replace this->xxx->enabled by this->modulename->enabled to remove this code
if (isset($this->propale->enabled)) $this->propal->enabled=$this->propale->enabled;
if (isset($this->categorie->enabled)) $this->category->enabled=$this->categorie->enabled;
// Define default dir_output and dir_temp for directories of modules
foreach($this->modules as $module)