Make WordPress Core

Changeset 844 for trunk/wp-settings.php


Ignore:
Timestamp:
02/07/2004 10:52:20 PM (22 years ago)
Author:
saxmatt
Message:

Move hack file include.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r796 r844  
    107107} //end !$_wp_installing
    108108
     109require_once (ABSPATH . WPINC . '/vars.php');
    109110
    110111
    111 require_once (ABSPATH . WPINC . '/vars.php');
     112// Check for hacks file if the option is enabled
     113if (get_settings('hack_file')) {
     114    if (file_exists(ABSPATH . '/my-hacks.php'))
     115        require(ABSPATH . '/my-hacks.php');
     116}
     117
    112118?>
Note: See TracChangeset for help on using the changeset viewer.