WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/18/2010 06:14:45 AM (12 years ago)
Author:
nacin
Message:

Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/media-upload.php

    r12007 r14139  
    1111
    1212/** Load WordPress Administration Bootstrap */
    13 require_once('admin.php');
     13require_once('./admin.php');
    1414
    1515if (!current_user_can('upload_files'))
     
    5757    $title = __('Upload New Media');
    5858    $parent_file = 'upload.php';
    59     require_once('admin-header.php'); ?>
     59    require_once('./admin-header.php'); ?>
    6060    <div class="wrap">
    6161    <?php screen_icon(); ?>
     
    8787
    8888<?php
    89     include('admin-footer.php');
     89    include('./admin-footer.php');
    9090
    9191} else {
Note: See TracChangeset for help on using the changeset viewer.