Fix the require_once in install-helper.php so that it works when included from a plugin. Fixes #5090

git-svn-id: https://develop.svn.wordpress.org/trunk@6291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-10-25 17:35:35 +00:00
parent efd6b3c958
commit 1521b5169b
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
require_once('../wp-config.php'); require_once(dirname(dirname(__FILE__)).'/wp-config.php');
$debug = 0; $debug = 0;
/** /**
@ -149,4 +149,4 @@ if (check_column($wpdb->links, 'link_description', 'varchar(255)')) {
} }
echo "</pre>"; echo "</pre>";
*/ */
?> ?>