Revision: 397
Author: coretxt
Date: Wed May 19 06:19:40 2010
Log: cleaning up and documenting configuration constants
http://code.google.com/p/floe/source/detail?r=397
Added:
/trunk/src/server/template/handlers
Modified:
/trunk/src/server/template/PhpTemplate.class.php
=======================================
--- /trunk/src/server/template/PhpTemplate.class.php Fri Mar 12 04:11:21
2010
+++ /trunk/src/server/template/PhpTemplate.class.php Wed May 19 06:19:40
2010
@@ -13,7 +13,7 @@
require_once "TemplateHandler.class.php";
-if (!defined('OUTPUT_VAR')) define('OUTPUT_VAR', 'output');
+if (!defined('PhpTemplate_WrapVariable'))
define('PhpTemplate_WrapVariable', 'output');
/**
* Handler for classic PHP style templating.
@@ -102,7 +102,7 @@
ob_start();
$this->writeTemplate($template);
if ($this->wrappedTemplate) {
- $this->assign(OUTPUT_VAR, ob_get_contents());
+ $this->assign(PhpTemplate_WrapVariable, ob_get_contents());
ob_clean();
$this->writeTemplate($this->wrappedTemplate);
}
--
You received this message because you are subscribed to the Google Groups "Floe Commits" group.
To post to this group, send email to
floe-c...@googlegroups.com.
To unsubscribe from this group, send email to
floe-commits...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/floe-commits?hl=en.