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/theme-install.php

    r13533 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( ! current_user_can('install_themes') )
     
    5656add_contextual_help($current_screen, plugins_search_help());
    5757
    58 include('admin-header.php');
     58include('./admin-header.php');
    5959?>
    6060<div class="wrap">
     
    7777</div>
    7878<?php
    79 include('admin-footer.php');
     79include('./admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.