From d66fc5fd1a94502ad91f0e01798df22519a777b1 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 23 May 2003 02:38:28 +0000 Subject: [PATCH] I heard require is faster. ;) [security fix] git-svn-id: http://svn.automattic.com/wordpress/trunk@42 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- blogger-2-b2.php | 6 +++--- gm-2-b2.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/blogger-2-b2.php b/blogger-2-b2.php index 2aa6ccbc93..66162cdfcf 100644 --- a/blogger-2-b2.php +++ b/blogger-2-b2.php @@ -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"); ?> diff --git a/gm-2-b2.php b/gm-2-b2.php index 643d17f86a..f1c626b345 100644 --- a/gm-2-b2.php +++ b/gm-2-b2.php @@ -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