- bugfix typo in Smarty_Internal_Get_IncludePath did cause runtime overhead (Issue 74)

- improvment remove unneeded assigments (Issue 75 and 76)
This commit is contained in:
uwe.tews@googlemail.com
2012-01-20 14:47:01 +00:00
parent b38be6edaa
commit c352723ec9
4 changed files with 12 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ class Smarty_Internal_Get_Include_Path {
{
static $_include_path = null;
if ($_path_array === null) {
if ($_include_path === null) {
$_include_path = explode(PATH_SEPARATOR, get_include_path());
}
@@ -34,7 +34,7 @@ class Smarty_Internal_Get_Include_Path {
return $_path . DS . $filepath;
}
}
return false;
}