Merge pull request #109 from FHenry/develop

Correct Bug of CSS in conf
This commit is contained in:
Regis Houssin 2012-02-23 02:40:16 -08:00
commit 2c0bbad50d

View File

@ -143,7 +143,7 @@ class Conf
if ($value && preg_match('/^MAIN_MODULE_/',$key))
{
// If this is constant for a css file activated by a module
if (preg_match('/^MAIN_MODULE_([A-Z_]+)_CSS$/i',$key))
if (preg_match('/^MAIN_MODULE_([A-Z_]+)_CSS$/i',$key,$reg))
{
$modulename = strtolower($reg[1]);
$this->css_modules[$modulename]=$value;