Changeset 1190
- Timestamp:
- 04/27/2004 11:17:16 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2rdf.php
r748 r1190 1 1 <?php 2 $curpath = dirname(__FILE__).'/'; 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.WPINC.'/template-functions.php'); 2 require_once ('./wp-config.php'); 5 3 if (!empty($_SERVER["QUERY_STRING"])) { 6 4 $location = get_bloginfo('rdf_url').'?'.$_SERVER["QUERY_STRING"]; -
trunk/b2rss.php
r748 r1190 1 1 <?php 2 $curpath = dirname(__FILE__).'/'; 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.WPINC.'/template-functions.php'); 2 require_once ('./wp-config.php'); 5 3 if (!empty($_SERVER["QUERY_STRING"])) { 6 4 $location = get_bloginfo('rss_url').'?'.$_SERVER["QUERY_STRING"]; -
trunk/b2rss2.php
r748 r1190 1 1 <?php 2 $curpath = dirname(__FILE__).'/'; 3 require_once ($curpath.'wp-config.php'); 4 require_once ($curpath.WPINC.'/template-functions.php'); 2 require_once ('./wp-config.php'); 5 3 if (!empty($_SERVER["QUERY_STRING"])) { 6 4 $location = get_bloginfo('rss2_url').'?'.$_SERVER["QUERY_STRING"]; -
trunk/wp-admin/import-greymatter.php
r1108 r1190 1 1 <?php 2 3 // 1. save as gm-2-b2.php4 // 2. upload on your server in the directory where your b2 files are5 // 3. load in the browser from there6 2 7 3 require_once('../wp-config.php'); 8 require_once(ABSPATH.WPINC.'/functions.php');9 4 require('upgrade-functions.php'); 10 5 -
trunk/wp-admin/link-parse-opml.php
r1107 r1190 1 1 <?php 2 2 require_once('../wp-config.php'); 3 require_once(ABSPATH.WPINC.'/functions.php');4 3 5 4 // columns we wish to find are: link_url, link_name, link_target, link_description -
trunk/wp-includes/functions.php
r1186 r1190 527 527 528 528 function weblog_ping($server = '', $path = '') { 529 include_once (ABSPATH . WPINC . '/class-xmlrpc.php'); 530 include_once (ABSPATH . WPINC . '/class-xmlrpcs.php'); 531 529 532 $f = new xmlrpcmsg('weblogUpdates.ping', 530 533 array(new xmlrpcval(get_settings('blogname'), 'string'), … … 700 703 701 704 function pingback($content, $post_ID) { 705 include_once (ABSPATH . WPINC . '/class-xmlrpc.php'); 706 include_once (ABSPATH . WPINC . '/class-xmlrpcs.php'); 702 707 // original code by Mort (http://mort.mine.nu:8080) 703 708 global $wp_version; -
trunk/wp-settings.php
r1184 r1190 25 25 $tableoptiongroup_options = $table_prefix . 'optiongroup_options'; 26 26 $tablepostmeta = $table_prefix . 'postmeta'; 27 27 28 define('WPINC', 'wp-includes'); 29 28 30 require_once (ABSPATH . WPINC . '/wp-db.php'); 29 31 … … 35 37 $wpdb->show_errors(); 36 38 37 // This is the name of the include directory. No "/" allowed. 38 39 require_once (ABSPATH . WPINC . '/functions.php'); 40 require_once (ABSPATH . 'wp-config-extra.php'); 41 require_once (ABSPATH . WPINC . '/template-functions.php'); 42 require_once (ABSPATH . WPINC . '/class-xmlrpc.php'); 43 require_once (ABSPATH . WPINC . '/class-xmlrpcs.php'); 44 require_once (ABSPATH . WPINC . '/links.php'); 45 require_once (ABSPATH . WPINC . '/kses.php'); 39 require (ABSPATH . WPINC . '/functions.php'); 40 require (ABSPATH . 'wp-config-extra.php'); 41 require (ABSPATH . WPINC . '/template-functions.php'); 42 require (ABSPATH . WPINC . '/links.php'); 43 require (ABSPATH . WPINC . '/kses.php'); 46 44 require_once (ABSPATH . WPINC . '/wp-l10n.php'); 47 45 48 //setup the old globals from b2config.php49 //50 // We should eventually migrate to either calling51 // get_settings() wherever these are needed OR52 // accessing a single global $all_settings var53 46 if (!strstr($_SERVER['REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) { 54 47 … … 62 55 } //end !$_wp_installing 63 56 64 require _once(ABSPATH . WPINC . '/vars.php');57 require (ABSPATH . WPINC . '/vars.php'); 65 58 66 59
Note: See TracChangeset
for help on using the changeset viewer.