[geeklog-cvs] geeklog: Fixed include path for db-config.php in bigdump.php (bu...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Jun 28 03:40:08 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/ef11cd91aa2a
changeset: 7153:ef11cd91aa2a
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Jun 28 09:33:20 2009 +0200
description:
Fixed include path for db-config.php in bigdump.php (bug #0000915)

diffstat:

 public_html/admin/install/bigdump.php |  3 ++-
 public_html/docs/history              |  1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 28fd720fa0de -r ef11cd91aa2a public_html/admin/install/bigdump.php
--- a/public_html/admin/install/bigdump.php	Sun Jun 28 09:22:09 2009 +0200
+++ b/public_html/admin/install/bigdump.php	Sun Jun 28 09:33:20 2009 +0200
@@ -44,8 +44,9 @@
 // THIS SCRIPT IS PROVIDED AS IS, WITHOUT ANY WARRANTY OR GUARANTEE OF ANY KIND
 //
 
+require_once '../../siteconfig.php';
 // Database configuration
-require_once '../../../db-config.php';
+require_once $_CONF['path'] . 'db-config.php';
 require_once 'lib-install.php';
 $db_server   = $_DB_host;
 $db_name     = $_DB_name;
diff -r 28fd720fa0de -r ef11cd91aa2a public_html/docs/history
--- a/public_html/docs/history	Sun Jun 28 09:22:09 2009 +0200
+++ b/public_html/docs/history	Sun Jun 28 09:33:20 2009 +0200
@@ -11,6 +11,7 @@
 + Comment moderation and editable comments, by Jared Wenerd
 
 Changes since 1.6.0b3:
+- Fixed include path for db-config.php in bigdump.php (bug #0000915) [Dirk]
 - Improved detection of UTF-8 database dumps in migration (bug #0000916) [Dirk]
 - Fixed typos in the install script (bugs #0000913 and #0000914) [Dirk]
 



More information about the geeklog-cvs mailing list