mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-17 22:45:20 +02:00
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user