Ticket #2549: 2549.diff

File 2549.diff, 823 bytes (added by Nazgul, 6 years ago)
  • wp-admin/install.php

     
    44        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 <a href='setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file."); 
    55 
    66require_once('../wp-config.php'); 
     7if (file_exists('../wp-content/install.php'))  
     8        require_once('../wp-content/install.php'); 
    79require_once('./upgrade-functions.php'); 
    810 
    911if (isset($_GET['step']))