Bug #905

r2_login.php can't create log file on linux

Added by kerozcak over 8 years ago. Updated about 8 years ago.

Status:Closed Start date:05/15/2010
Priority:Normal Due date:
Assignee:vl % Done:

100%

Category:Services: General
Target version:Version 0.8.0

Description

in r2_login.php:
$logPath = $pathInfo['dirname'].$LogRelativePath;

there's no '/' at the end of dirname returned from pathinfo() which results with bad directory when $logRelativePath is set to './' - e.g. /home/nevrax/code/ryzom/tools/server/www/login./ thus r2_login.php can't create a log file

Changing it to:
$logPath = $pathInfo['dirname'].'/'.$LogRelativePath;
resolves the problem

History

#1 Updated by vl over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to vl

#2 Updated by vl over 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r178.

#3 Updated by vl over 8 years ago

  • Target version set to Version 0.8.0

#4 Updated by vl about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF