Skip to content

Commit

Permalink
install.php: remove db location warning if not apache
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Landeholm committed Sep 25, 2014
1 parent c9ca728 commit 9a7179d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions install.php
Expand Up @@ -66,11 +66,6 @@ function wp_install($blog_title, $user_name, $user_email, $public, $deprecated =

if (isset($_SERVER['SERVER_SOFTWARE']) && stripos($_SERVER['SERVER_SOFTWARE'], 'apache') !== false || isset($_SERVER['SERVER_SIGNATURE']) && stripos($_SERVER['SERVER_SIGNATURE'], 'apache') !== false) {
;// Your server is Apache. Nothing to do more.
} else {
$server_message = sprintf('Your webserver doesn\'t seem to be Apache. So the database directory access restriction by the .htaccess file may not function. We strongly recommend that you should restrict the access to the directory %s in some other way.', FQDBDIR);
echo '<div style="position: absolute; margin-top: 250px; width: 700px; border: .5px dashed rgb(0, 0, 0);"><p style="margin: 10px;">';
echo $server_message;
echo '</p></div>';
}

return array('url' => $guessurl, 'user_id' => $user_id, 'password' => $user_password, 'password_message' => $message);
Expand Down

0 comments on commit 9a7179d

Please sign in to comment.