1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

header performance - readable checks removed

This commit is contained in:
secretr
2012-10-24 08:43:47 +00:00
parent 6c7f6adf9b
commit 353037fb5c

View File

@@ -172,10 +172,8 @@ if ($e_headers && is_array($e_headers))
{
foreach($e_headers as $val)
{
if(is_readable(e_PLUGIN.$val."/e_header.php"))
{
require_once(e_PLUGIN.$val."/e_header.php");
}
// no checks fore existing file - performance
e107_include(e_PLUGIN.$val."/e_header.php");
}
}
unset($e_headers);