mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Fixed: #905 r2_login.php can't create log file on linux by kerozcak
This commit is contained in:
parent
ee05a53ef0
commit
f1277b6caa
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