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/install.php

    r7294 r7971  
    11<?php
    22define('WP_INSTALLING', true);
    3 if (!file_exists('../wp-config.php')) {
    4   require_once('../wp-includes/compat.php');
    5   require_once('../wp-includes/functions.php');
    6   wp_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/Editing_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>", "WordPress &rsaquo; Error");
    7 }
    83
    9 require_once('../wp-config.php');
     4require_once('../wp-load.php');
    105require_once('./includes/upgrade.php');
    116
Note: See TracChangeset for help on using the changeset viewer.