remove period from syntax error

This commit is contained in:
mohrt
2001-05-02 14:31:35 +00:00
parent 25ee097699
commit b1ddf67884
2 changed files with 4 additions and 4 deletions

View File

@@ -609,7 +609,7 @@ class Smarty
Purpose: fetch the template source and timestamp Purpose: fetch the template source and timestamp
\*======================================================================*/ \*======================================================================*/
function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp) function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp)
{ {
// split tpl_path by the first colon // split tpl_path by the first colon
$tpl_path_parts = explode(':', $tpl_path, 2); $tpl_path_parts = explode(':', $tpl_path, 2);
@@ -633,7 +633,7 @@ class Smarty
$template_timestamp = filemtime($resource_name); $template_timestamp = filemtime($resource_name);
return true; return true;
} else { } 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; return false;
} }
break; break;

View File

@@ -609,7 +609,7 @@ class Smarty
Purpose: fetch the template source and timestamp Purpose: fetch the template source and timestamp
\*======================================================================*/ \*======================================================================*/
function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp) function _fetch_template_source($tpl_path, &$template_source, &$template_timestamp)
{ {
// split tpl_path by the first colon // split tpl_path by the first colon
$tpl_path_parts = explode(':', $tpl_path, 2); $tpl_path_parts = explode(':', $tpl_path, 2);
@@ -633,7 +633,7 @@ class Smarty
$template_timestamp = filemtime($resource_name); $template_timestamp = filemtime($resource_name);
return true; return true;
} else { } 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; return false;
} }
break; break;