diff Lib/IMPL/Web/QueryHandler/PageFormat.pm @ 160:3f09584bf189

Corrected web application modules
author wizard
date Mon, 27 Dec 2010 19:41:36 +0300
parents 8638dd1374bf
children 39c8788eded5
line wrap: on
line diff
--- a/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Mon Dec 27 01:37:44 2010 +0300
+++ b/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Mon Dec 27 19:41:36 2010 +0300
@@ -19,6 +19,7 @@
 BEGIN {
 	public property templatesCharset => prop_all;
 	public property templatesBase => prop_all;
+	public property includes => prop_all | prop_list;
 	public property defaultTarget => prop_all;
 	public property pathinfoPrefix => prop_all;
 	public property cache => prop_all;
@@ -77,7 +78,7 @@
 		$doc->LoadFile (
 			($this->template || File::Spec->catfile($this->templatesBase,@path)),
 			$this->templatesCharset,
-			$this->templatesBase,
+			[$this->templatesBase, $this->includes],
 			{
 				result => scalar($nextHandler->()),
 				action => $action,