mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
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:
parent
97ff094990
commit
4394c5e66c
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user