Make WordPress Core

Changeset 25616 for trunk/src/index.php


Ignore:
Timestamp:
09/25/2013 12:17:40 AM (13 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/index.php

    r25001 r25616  
    1515
    1616/** Loads the WordPress Environment and Template */
    17 require('./wp-blog-header.php');
     17require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Note: See TracChangeset for help on using the changeset viewer.