Make WordPress Core


Ignore:
Timestamp:
04/18/2010 06:14:45 AM (15 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/upload.php

    r13978 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111wp_enqueue_script( 'wp-ajax-response' );
    1212wp_enqueue_script( 'jquery-ui-draggable' );
     
    162162
    163163wp_enqueue_script('media');
    164 require_once('admin-header.php');
     164require_once('./admin-header.php');
    165165?>
    166166
     
    449449
    450450} else {
    451     include( 'edit-attachment-rows.php' );
     451    include( './edit-attachment-rows.php' );
    452452} ?>
    453453
     
    493493
    494494<?php
    495 include('admin-footer.php');
     495include('./admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.