mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
*** empty log message ***
This commit is contained in:
@@ -128,9 +128,9 @@ class Config_File extends PEAR {
|
|||||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
||||||
} else {
|
} else {
|
||||||
if (empty($section_name))
|
if (empty($section_name))
|
||||||
return $this->_config_data[$file_name]["vars"];
|
return (array)$this->_config_data[$file_name]["vars"];
|
||||||
else
|
else
|
||||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
return (array)$this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -128,9 +128,9 @@ class Config_File extends PEAR {
|
|||||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
||||||
} else {
|
} else {
|
||||||
if (empty($section_name))
|
if (empty($section_name))
|
||||||
return $this->_config_data[$file_name]["vars"];
|
return (array)$this->_config_data[$file_name]["vars"];
|
||||||
else
|
else
|
||||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
return (array)$this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user