Old fix back.

git-svn-id: http://svn.automattic.com/wordpress/trunk@98 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-05-25 21:20:59 +00:00
parent ac5b52f229
commit cc77c8a815
1 changed files with 11 additions and 7 deletions

View File

@ -4,14 +4,18 @@ $use_cache = 1;
$use_gzipcompression = 1;
/* Including config and functions files */
require_once('b2config.php');
$b2blah = dirname(__FILE__).'/';
/* Including config and functions files */
$curpath = dirname(__FILE__).'/';
require_once ($curpath.'/b2config.php');
require_once ($abspath.$b2inc.'/b2template.functions.php');
require_once ($abspath.$b2inc.'/b2vars.php');
require_once ($abspath.$b2inc.'/b2functions.php');
require_once ($abspath.$b2inc.'/xmlrpc.inc');
require_once ($abspath.$b2inc.'/xmlrpcs.inc');
if (($b2inc{0} == '/') || ($b2inc{1} == ':')) {
$curpath='./';
}
require_once ($curpath.$b2inc.'/b2template.functions.php');
require_once ($curpath.$b2inc.'/b2vars.php');
require_once ($curpath.$b2inc.'/b2functions.php');
require_once ($curpath.$b2inc.'/xmlrpc.inc');
require_once ($curpath.$b2inc.'/xmlrpcs.inc');
$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby');