mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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":
|
||||
|
||||
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…
Reference in New Issue
Block a user