Make WordPress Core


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/wp-admin/network.php

    r24648 r25616  
    1414
    1515/** WordPress Administration Bootstrap */
    16 require_once( './admin.php' );
     16require_once( dirname( __FILE__ ) . '/admin.php' );
    1717
    1818if ( ! is_super_admin() )
Note: See TracChangeset for help on using the changeset viewer.