I heard require is faster. ;) [security fix]
git-svn-id: http://svn.automattic.com/wordpress/trunk@42 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
374a57451b
commit
d66fc5fd1a
|
@ -20,9 +20,9 @@ switch ($action) {
|
||||||
|
|
||||||
case "step1":
|
case "step1":
|
||||||
|
|
||||||
include("b2config.php");
|
require("b2config.php");
|
||||||
include("$b2inc/b2functions.php");
|
require("$b2inc/b2functions.php");
|
||||||
include("$b2inc/b2vars.php");
|
require("$b2inc/b2vars.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
// 2. upload on your server in the directory where your b2 files are
|
// 2. upload on your server in the directory where your b2 files are
|
||||||
// 3. load in the browser from there
|
// 3. load in the browser from there
|
||||||
|
|
||||||
include("b2config.php");
|
require("b2config.php");
|
||||||
include($b2inc."/b2functions.php");
|
require($b2inc."/b2functions.php");
|
||||||
|
|
||||||
$b2varstoreset = array('action', 'gmpath', 'archivespath');
|
$b2varstoreset = array('action', 'gmpath', 'archivespath');
|
||||||
for ($i=0; $i<count($b2varstoreset); $i += 1) {
|
for ($i=0; $i<count($b2varstoreset); $i += 1) {
|
||||||
|
|
Loading…
Reference in New Issue