From: <je...@us...> - 2007-05-03 10:58:11
|
Revision: 16371 http://svn.sourceforge.net/gallery/?rev=16371&view=rev Author: jenst Date: 2007-05-03 03:58:10 -0700 (Thu, 03 May 2007) Log Message: ----------- 2007-05-03 Jens Tkotz <je...@pe...> 1.6-RC1-svn-b61 * Fix: Little Typo * Change: use @ before mkdir in platform/* Modified Paths: -------------- trunk/gallery/ChangeLog trunk/gallery/Version.php trunk/gallery/platform/fs_unix.php trunk/gallery/platform/fs_win32.php trunk/gallery/util.php Modified: trunk/gallery/ChangeLog =================================================================== --- trunk/gallery/ChangeLog 2007-05-03 07:37:26 UTC (rev 16370) +++ trunk/gallery/ChangeLog 2007-05-03 10:58:10 UTC (rev 16371) @@ -1,3 +1,9 @@ +2007-05-03 Jens Tkotz <je...@pe...> 1.6-RC1-svn-b61 + + * Fix: Little Typo + + * Change: use @ before mkdir in platform/* + 2007-05-02 Jens Tkotz <je...@pe...> 1.6-RC1-svn-b60 * "Fix": Lots of phpdoc adds, indenting and gTranslate() Modified: trunk/gallery/Version.php =================================================================== --- trunk/gallery/Version.php 2007-05-03 07:37:26 UTC (rev 16370) +++ trunk/gallery/Version.php 2007-05-03 10:58:10 UTC (rev 16371) @@ -25,7 +25,7 @@ * @package Gallery */ -$gallery->version = '1.6-RC1-svn-b60'; +$gallery->version = '1.6-RC1-svn-b61'; $gallery->config_version = 101; $gallery->album_version = 41; $gallery->user_version = 6; Modified: trunk/gallery/platform/fs_unix.php =================================================================== --- trunk/gallery/platform/fs_unix.php 2007-05-03 07:37:26 UTC (rev 16370) +++ trunk/gallery/platform/fs_unix.php 2007-05-03 10:58:10 UTC (rev 16371) @@ -176,11 +176,11 @@ * permissions for any Unix implementation. */ if ( phpversion() == '4.2.0') { - $result = mkdir(fs_import_filename($dirname, 0)); + $result = @mkdir(fs_import_filename($dirname, 0)); chmod($dirname, $perms); } else { - $result = mkdir(fs_import_filename($dirname, 0), $perms); + $result = @mkdir(fs_import_filename($dirname, 0), $perms); } return $result; Modified: trunk/gallery/platform/fs_win32.php =================================================================== --- trunk/gallery/platform/fs_win32.php 2007-05-03 07:37:26 UTC (rev 16370) +++ trunk/gallery/platform/fs_win32.php 2007-05-03 10:58:10 UTC (rev 16371) @@ -161,11 +161,11 @@ /** * Creates a directory * @param string $dirname - * @param string $perms Optional perms, given in octal format - * @return boolean $result true on success, otherwise false + * @param string $perms Optional perms, given in octal format + * @return boolean $result true on success, otherwise false */ function fs_mkdir($dirname, $perms = 0700) { - $result = mkdir(fs_import_filename($dirname, 0), $perms); + $result = @mkdir(fs_import_filename($dirname, 0), $perms); return $result; } Modified: trunk/gallery/util.php =================================================================== --- trunk/gallery/util.php 2007-05-03 07:37:26 UTC (rev 16370) +++ trunk/gallery/util.php 2007-05-03 10:58:10 UTC (rev 16371) @@ -1611,7 +1611,7 @@ if(! fs_mkdir($dir)) { echo gallery_error( - sprintf(gTranslate('core', "Gallery was unable to create a tempory subfolder in your temp folder. Please check permissions of this dir: %s"), + sprintf(gTranslate('core', "Gallery was unable to create a temporary subfolder in your temp folder. Please check permissions of this dir: %s"), $gallery->app->tmpDir)); return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |