SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Marc-Etienne V. <var...@us...> - 2008年05月17日 06:53:49
Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6232
Modified Files:
	UpLoad.php 
Log Message:
Create log file if it does not exist
Index: UpLoad.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/UpLoad.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -2 -b -p -d -r1.26 -r1.27
--- UpLoad.php	14 Jul 2007 12:05:07 -0000	1.26
+++ UpLoad.php	17 May 2008 06:53:54 -0000	1.27
@@ -261,6 +261,6 @@ ws[cfh]");
 	global $WikiTheme;
 	$user = $GLOBALS['request']->_user;
- if (!is_writable($upload_log)) {
- trigger_error(_("The upload logfile is not writable."), E_USER_WARNING);
+ if (file_exists($upload_log) and (!is_writable($upload_log))) {
+ trigger_error(_("The upload logfile exists but is not writable."), E_USER_WARNING);
 }
 elseif (!$log_handle = fopen ($upload_log, "a")) {
@@ -287,4 +287,7 @@ ws[cfh]");
 
 // $Log$
+// Revision 1.27 2008年05月17日 06:53:54 vargenau
+// Create log file if it does not exist
+//
 // Revision 1.26 2007年07月14日 12:05:07 rurban
 // no inlined [] links anymore, edit inclusion, more extensions allowed.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /