Menu

#1 update.php: chdir fails on linux filesystems

open
nobody
None
5
2005-11-15
2005-11-15
No

in update_sync.inc.php on line 37
--
if(!@chdir($logdir.'/kills/')) {
--

this will obviously fails on linux case-sensitive
filesystems as stats directory contains instead a
"Kills" subdirectory

this happens also on line 50,86, etc etc...

I haven't investigated the sources any further and I'm
not able to give a solution (apart from checking for
'kills' or 'Kills' every time)

Discussion

  • Giulio Prina Ricotti

    • summary: update.pgp: chdir fails on linux filesystems --> update.php: chdir fails on linux filesystems
     
  • Giulio Prina Ricotti

    Logged In: YES
    user_id=199618

    if(!@chdir($logdir.'/kills/')) {

    is

    if(!@chdir($logdir.'kills/')) {

    instead. This was a workaround for bug #1357600

     

Log in to post a comment.