From ee2294b27e0a41d35fb24a005498cc8c888f545b Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 30 Jan 2001 18:06:14 +0000 Subject: [PATCH] Remove debug message. --- Smarty.class.php | 2 -- demo/templates/index.tpl | 2 +- libs/Smarty.class.php | 2 -- templates/index.tpl | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index 5cd78410..7f18f987 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -271,8 +271,6 @@ class Smarty function _process_file($filepath) { - var_dump($filepath); - if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) { $tpl_file_dir = $match[1]; $tpl_file_name = $match[2] . ".php"; diff --git a/demo/templates/index.tpl b/demo/templates/index.tpl index 2f3c7bd2..dd9d0b93 100644 --- a/demo/templates/index.tpl +++ b/demo/templates/index.tpl @@ -1,5 +1,5 @@ {config_load file=test.conf section="setup"} -{include file=foo/header.tpl title=foo} +{include file=header.tpl title=foo}
 
diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php
index 5cd78410..7f18f987 100644
--- a/libs/Smarty.class.php
+++ b/libs/Smarty.class.php
@@ -271,8 +271,6 @@ class Smarty
 
 	function _process_file($filepath)
 	{
-		var_dump($filepath);
-
 		if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) {
 			$tpl_file_dir = $match[1];			
 			$tpl_file_name = $match[2] . ".php";
diff --git a/templates/index.tpl b/templates/index.tpl
index 2f3c7bd2..dd9d0b93 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -1,5 +1,5 @@
 {config_load file=test.conf section="setup"}
-{include file=foo/header.tpl title=foo}
+{include file=header.tpl title=foo}