mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Fixed: #905 r2_login.php can't create log file on linux by kerozcak
This commit is contained in:
parent
dcc73535d2
commit
a0c4d7d72f
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
|||
// $_SERVER['SCRIPT_FILENAME'] = 'r:/code/ryzom/www/login//r2_login.php'
|
||||
global $LogRelativePath;
|
||||
$pathInfo = pathinfo(__FILE__);
|
||||
$logPath = $pathInfo['dirname'].$LogRelativePath;
|
||||
$logPath = $pathInfo['dirname'].'/'.$LogRelativePath;
|
||||
if (!is_dir($logPath))
|
||||
{
|
||||
$res = mkdir($LogPath, 0700);
|
||||
|
|
Loading…
Reference in a new issue