Correct Bug of CSS in conf

This commit is contained in:
FHenry 2012-02-23 11:27:13 +01:00
parent b0e9cd8370
commit 21ffd56795

View File

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