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
dfb1cb9e66
commit
47a4a8e20a
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
||||||
// $_SERVER['SCRIPT_FILENAME'] = 'r:/code/ryzom/www/login//r2_login.php'
|
// $_SERVER['SCRIPT_FILENAME'] = 'r:/code/ryzom/www/login//r2_login.php'
|
||||||
global $LogRelativePath;
|
global $LogRelativePath;
|
||||||
$pathInfo = pathinfo(__FILE__);
|
$pathInfo = pathinfo(__FILE__);
|
||||||
$logPath = $pathInfo['dirname'].$LogRelativePath;
|
$logPath = $pathInfo['dirname'].'/'.$LogRelativePath;
|
||||||
if (!is_dir($logPath))
|
if (!is_dir($logPath))
|
||||||
{
|
{
|
||||||
$res = mkdir($LogPath, 0700);
|
$res = mkdir($LogPath, 0700);
|
||||||
|
|
Loading…
Reference in a new issue