/branches/ant-ng/lib/template.php |
---|
25,7 → 25,7 |
} |
public function display($name, $attrs = null) { |
$fh = fopen($this->path.$name, "r+"); |
$fh = fopen($this->path.$name, "r"); |
$content = fread($fh, filesize($this->path.$name)); |
fclose($fh); |
foreach ($attrs as $attr) { |