Make WordPress Core


Ignore:
Timestamp:
05/21/2008 05:59:27 AM (16 years ago)
Author:
ryan
Message:

Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade.php

    r7095 r7971  
    11<?php
    22define('WP_INSTALLING', true);
    3 if (!file_exists('../wp-config.php'))
    4     die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Installing_WordPress#Step_3:_Set_up_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='setup-config.php' class='button'>Create a Configuration File</a>");
    53
    6 require('../wp-config.php');
     4require('../wp-load.php');
    75timer_start();
    86require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
Note: See TracChangeset for help on using the changeset viewer.