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

    r12752 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( ! current_user_can('install_plugins') )
     
    5555add_contextual_help($current_screen, plugins_search_help());
    5656
    57 include('admin-header.php');
     57include('./admin-header.php');
    5858?>
    5959<div class="wrap">
     
    7676</div>
    7777<?php
    78 include('admin-footer.php');
     78include('./admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.