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.php

    r13521 r14139  
    88
    99/** Load WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212$parent_file = 'upload.php';
     
    6868    wp_enqueue_style('imgareaselect');
    6969
    70     require( 'admin-header.php' );
     70    require( './admin-header.php' );
    7171
    7272    $parent_file = 'upload.php';
     
    115115<?php
    116116
    117     require( 'admin-footer.php' );
     117    require( './admin-footer.php' );
    118118
    119119    exit;
Note: See TracChangeset for help on using the changeset viewer.