mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
Remove debug message.
This commit is contained in:
@@ -271,8 +271,6 @@ class Smarty
|
|||||||
|
|
||||||
function _process_file($filepath)
|
function _process_file($filepath)
|
||||||
{
|
{
|
||||||
var_dump($filepath);
|
|
||||||
|
|
||||||
if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) {
|
if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) {
|
||||||
$tpl_file_dir = $match[1];
|
$tpl_file_dir = $match[1];
|
||||||
$tpl_file_name = $match[2] . ".php";
|
$tpl_file_name = $match[2] . ".php";
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{config_load file=test.conf section="setup"}
|
{config_load file=test.conf section="setup"}
|
||||||
{include file=foo/header.tpl title=foo}
|
{include file=header.tpl title=foo}
|
||||||
|
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|
||||||
|
@@ -271,8 +271,6 @@ class Smarty
|
|||||||
|
|
||||||
function _process_file($filepath)
|
function _process_file($filepath)
|
||||||
{
|
{
|
||||||
var_dump($filepath);
|
|
||||||
|
|
||||||
if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) {
|
if(preg_match("/^(.+)\/([^\/]+)$/", $filepath, $match)) {
|
||||||
$tpl_file_dir = $match[1];
|
$tpl_file_dir = $match[1];
|
||||||
$tpl_file_name = $match[2] . ".php";
|
$tpl_file_name = $match[2] . ".php";
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{config_load file=test.conf section="setup"}
|
{config_load file=test.conf section="setup"}
|
||||||
{include file=foo/header.tpl title=foo}
|
{include file=header.tpl title=foo}
|
||||||
|
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user