I heard require is faster. ;) [security fix]

git-svn-id: https://develop.svn.wordpress.org/trunk@42 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-05-23 02:38:28 +00:00
parent 97ff094990
commit 4394c5e66c
2 changed files with 5 additions and 5 deletions

View File

@ -20,9 +20,9 @@ switch ($action) {
case "step1":
include("b2config.php");
include("$b2inc/b2functions.php");
include("$b2inc/b2vars.php");
require("b2config.php");
require("$b2inc/b2functions.php");
require("$b2inc/b2vars.php");
?>
<html>

View File

@ -4,8 +4,8 @@
// 2. upload on your server in the directory where your b2 files are
// 3. load in the browser from there
include("b2config.php");
include($b2inc."/b2functions.php");
require("b2config.php");
require($b2inc."/b2functions.php");
$b2varstoreset = array('action', 'gmpath', 'archivespath');
for ($i=0; $i<count($b2varstoreset); $i += 1) {