Skip to content

Commit

Permalink
we usually use include instead of require for plugin files
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 4, 2010
1 parent 71367af commit 77dd303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluginfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
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)) {
Expand Down

0 comments on commit 77dd303

Please sign in to comment.