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}