From b1ddf6788488354ba49321f97daa7bcee56ba8da Mon Sep 17 00:00:00 2001 From: mohrt Date: Wed, 2 May 2001 14:31:35 +0000 Subject: [PATCH] remove period from syntax error --- Smarty.class.php | 4 ++-- libs/Smarty.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index dc5aec60..5c31113a 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -609,7 +609,7 @@ class Smarty Purpose: fetch the template source and timestamp \*======================================================================*/ function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp) - { + { // split tpl_path by the first colon $tpl_path_parts = explode(':', $tpl_path, 2); @@ -633,7 +633,7 @@ class Smarty $template_timestamp = filemtime($resource_name); return true; } else { - $this->_trigger_error_msg("unable to read template resource: \"$tpl_path.\""); + $this->_trigger_error_msg("unable to read template resource: \"$tpl_path\""); return false; } break; diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index dc5aec60..5c31113a 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -609,7 +609,7 @@ class Smarty Purpose: fetch the template source and timestamp \*======================================================================*/ function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp) - { + { // split tpl_path by the first colon $tpl_path_parts = explode(':', $tpl_path, 2); @@ -633,7 +633,7 @@ class Smarty $template_timestamp = filemtime($resource_name); return true; } else { - $this->_trigger_error_msg("unable to read template resource: \"$tpl_path.\""); + $this->_trigger_error_msg("unable to read template resource: \"$tpl_path\""); return false; } break;