Make WordPress Core

Changeset 1997 for trunk/xmlrpc.php


Ignore:
Timestamp:
12/24/2004 01:34:47 AM (20 years ago)
Author:
saxmatt
Message:

Cleaning up blogfilename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r1964 r1997  
    150150      $struct = array(
    151151        'isAdmin'  => $is_admin,
    152         'url'      => get_settings('home') .'/'.get_settings('blogfilename'),
     152        'url'      => get_settings('home') . '/',
    153153        'blogid'   => '1',
    154154        'blogName' => get_settings('blogname')
     
    282282
    283283      /* warning: here we make the assumption that the weblog's URI is on the same server */
    284       $filename = get_settings('home').'/'.get_settings('blogfilename');
     284      $filename = get_settings('home') . '/';
    285285      $filename = preg_replace('#http://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename);
    286286
     
    316316
    317317      /* warning: here we make the assumption that the weblog's URI is on the same server */
    318       $filename = get_settings('home').'/'.get_settings('blogfilename');
     318      $filename = get_settings('home') . '/';
    319319      $filename = preg_replace('#http://.+?/#', $_SERVER['DOCUMENT_ROOT'].'/', $filename);
    320320
Note: See TracChangeset for help on using the changeset viewer.