[geeklog-cvs] geeklog: Fixed wrong path reported in case of a missing 'data' d...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Nov 7 09:45:37 EST 2009


changeset 7448:16c9168c8360
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/16c9168c8360
user: Dirk Haun <dirk at haun-online.de>
date: Sat Nov 07 14:57:12 2009 +0100
description:
Fixed wrong path reported in case of a missing 'data' directory (reported by Markus Wollschlaeger)

diffstat:

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

diffs (24 lines):

diff -r 814bbee9ff4d -r 16c9168c8360 public_html/admin/install/index.php
--- a/public_html/admin/install/index.php	Sat Nov 07 13:16:38 2009 +0100
+++ b/public_html/admin/install/index.php	Sat Nov 07 14:57:12 2009 +0100
@@ -1062,7 +1062,7 @@
             $chmod_string = 'chmod -R 777 ';
             // Files to check if writable
             $file_list = array( $_PATH['db-config.php'],
-                                $gl_path . (file_exists($gl_path . 'data') ? 'data/' : 'public_html/data/'),
+                                $gl_path . 'data/',
                                 $gl_path . 'logs/error.log',
                                 $_PATH['public_html/'] . 'siteconfig.php',
                                 $_PATH['public_html/'] . 'backend/geeklog.rss',
diff -r 814bbee9ff4d -r 16c9168c8360 public_html/docs/history
--- a/public_html/docs/history	Sat Nov 07 13:16:38 2009 +0100
+++ b/public_html/docs/history	Sat Nov 07 14:57:12 2009 +0100
@@ -4,6 +4,8 @@
 ------------
 
 Changes since 1.6.1b1:
+- Fixed wrong path reported in case of a missing 'data' directory (reported by
+  Markus Wollschläger) [Dirk]
 - When a plugin returns 0 items for the Admins Block, don't display that as
   'N/A' (bug #0001025) [Dirk]
 - Fixed a bug in the Group Editor that didn't let you add groups to other groups



More information about the geeklog-cvs mailing list