we usually use include instead of require for plugin files

This commit is contained in:
Petr Skoda
2010-07-04 09:52:21 +00:00
parent 71367aff75
commit 77dd3034b8
+1 -1
View File
@@ -681,7 +681,7 @@ if ($component === 'blog') {
if (!file_exists("$dir/lib.php")) {
send_file_not_found();
}
require_once("$dir/lib.php");
include_once("$dir/lib.php");
$filefunction = $component.'_pluginfile';
if (function_exists($filefunction)) {