https://src.bluestatic.org
/
hoplite.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c16b3
)
Fix a bug in TemplateLoader
author
Robert Sesek <rsesek@google.com>
Sat, 30 Jul 2011 16:08:09 +0000
(12:08 -0400)
committer
Robert Sesek <rsesek@google.com>
Sat, 30 Jul 2011 16:08:09 +0000
(12:08 -0400)
views/template_loader.php
patch
|
blob
|
history
diff --git
a/views/template_loader.php
b/views/template_loader.php
index 043ff717263c387a9b0b47447cf19b2d97e5f323..6a9da4d4c7a8607edfa9ac88406ee573add3e82e 100644
(file)
--- a/
views/template_loader.php
+++ b/
views/template_loader.php
@@
-109,7
+109,7
@@
class TemplateLoader
if ($data === FALSE)
return NULL;
- return Template::NewWithData($data);
+ return Template::NewWith
Compiled
Data($data);
}
/*!
@@
-129,7
+129,7
@@
class TemplateLoader
if ($data === FALSE)
throw new TemplateLoaderException('Could not load template ' . $this->template_name);
- $template = Template::NewWith
Compiled
Data($data);
+ $template = Template::NewWithData($data);
// Cache the file.
if (!file_put_contents($cache_path, $this->cache_prefix . $template->template()))