Commit 0cb0875f authored by Raph El's avatar Raph El

Merge

parent 84c1e4cc
......@@ -71,9 +71,9 @@ class CO2 {
public static function getThemeParams($domainName=null){
$domainName = @$domainName ? $domainName : Yii::app()->params["CO2DomainName"];
// $layoutPath ="../../modules/co2/config/params.json";
$layoutPath ="../../modules/co2/config/params.json";
$layoutPath ="../../modules/co2/config/".$domainName."/params.json";
$str = file_get_contents($layoutPath);
$params = json_decode($str, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment