mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
remove period from syntax error
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user