Make WordPress Core


Ignore:
Timestamp:
09/25/2013 12:17:40 AM (11 years ago)
Author:
nacin
Message:

Don't rely on include_path to include files.

Always use dirname() or, once available, ABSPATH.

props ketwaroo, hakre.
fixes #17092.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-links-opml.php

    r25480 r25616  
    1313 */
    1414
    15 require_once('./wp-load.php');
     15require_once( dirname( __FILE__ ) . '/wp-load.php' );
    1616
    1717header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
Note: See TracChangeset for help on using the changeset viewer.