mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
header performance - readable checks removed
This commit is contained in:
@@ -172,10 +172,8 @@ if ($e_headers && is_array($e_headers))
|
|||||||
{
|
{
|
||||||
foreach($e_headers as $val)
|
foreach($e_headers as $val)
|
||||||
{
|
{
|
||||||
if(is_readable(e_PLUGIN.$val."/e_header.php"))
|
// no checks fore existing file - performance
|
||||||
{
|
e107_include(e_PLUGIN.$val."/e_header.php");
|
||||||
require_once(e_PLUGIN.$val."/e_header.php");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($e_headers);
|
unset($e_headers);
|
||||||
|
Reference in New Issue
Block a user