[geeklog-cvs] geeklog: Wrong constant PATH_SEPARATOR - should have been DIRECT...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Nov 18 14:43:58 EST 2009


changeset 7477:e6d6d39f0db7
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e6d6d39f0db7
user: Dirk Haun <dirk at haun-online.de>
date: Wed Nov 18 20:42:43 2009 +0100
description:
Wrong constant PATH_SEPARATOR - should have been DIRECTORY_SEPARATOR (Thanks, Blaine)

diffstat:

 public_html/docs/history          |  4 +++-
 system/classes/unpacker.class.php |  2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r a034bcbc8fbe -r e6d6d39f0db7 public_html/docs/history
--- a/public_html/docs/history	Sun Nov 15 17:13:54 2009 +0100
+++ b/public_html/docs/history	Wed Nov 18 20:42:43 2009 +0100
@@ -2,7 +2,9 @@
 
 Nov ??, 2009 (1.6.1)
 ------------
+
 Changes since 1.6.1rc1:
+- Fixed use of wrong constant in unpacker.class.php [Blaine]
 - Updated the age-old help texts and added help files for comment and user
   submissions as well as the draft stories list [Dirk]
 - The success message at the end of the install recommended setting
@@ -97,7 +99,7 @@
   bugs with the "Disable Comments" option in 1.6.0) may result in values outside
   of the range of the year dropdown for that option, in which case it reverted
   to the previous(!) year and caused comments to be closed immediately [Dirk]
-- When viewing your own profile page, you now get an "edit" link that take you
+- When viewing your own profile page, you now get an "edit" link that takes you
   to "My Account" [Dirk]
 - Additional checks in "Mail Story to a Friend", "Send mail to user", and
   "Mail Users" dialogs to make sure users don't enter email addresses into the
diff -r a034bcbc8fbe -r e6d6d39f0db7 system/classes/unpacker.class.php
--- a/system/classes/unpacker.class.php	Sun Nov 15 17:13:54 2009 +0100
+++ b/system/classes/unpacker.class.php	Wed Nov 18 20:42:43 2009 +0100
@@ -80,7 +80,7 @@
     function unpacker($file, $mime_type = null) {
 
         // default directory separator
-        $this->d_sep = PATH_SEPARATOR;
+        $this->d_sep = DIRECTORY_SEPARATOR;
 
         // if the file doesn't have it's path, assume local
         if (! strstr($file, $this->d_sep)) {



More information about the geeklog-cvs mailing list