SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年02月16日 05:10:10
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv11072/lib
Modified Files:
	main.php 
Log Message:
Small bug fix
Index: main.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/main.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** main.php	2001年02月16日 04:43:08	1.5
--- main.php	2001年02月16日 05:10:54	1.6
***************
*** 4,11 ****
 include "lib/stdlib.php";
 include "lib/userauth.php";
 
 if (ACCESS_LOG)
 {
- include "lib/logger.php";
 $LogEntry = new AccessLogEntry;
 
--- 4,11 ----
 include "lib/stdlib.php";
 include "lib/userauth.php";
+ include "lib/logger.php";
 
 if (ACCESS_LOG)
 {
 $LogEntry = new AccessLogEntry;
 
***************
*** 17,21 ****
 {
 $LogEntry->status = 302;	// "302 Found"
! header("Location: " . SERVER_URL . $REQUEST_URI);
 exit;
 }
--- 17,21 ----
 {
 $LogEntry->status = 302;	// "302 Found"
! header("Location: " . SERVER_URL . $REQUEST_URI . '/');
 exit;
 }
***************
*** 85,89 ****
 
 $user = new WikiUser(get_auth_mode($action));
! if (ACCESS_LOG and $user->is_authenticated())
 $LogEntry->user = $user->id;
 
--- 85,89 ----
 
 $user = new WikiUser(get_auth_mode($action));
! if ($user->is_authenticated())
 $LogEntry->user = $user->id;
 
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 によって変換されたページ (->オリジナル) /