Changeset 25385


Ignore:
Timestamp:
11/07/13 22:06:38 (6 years ago)
Author:
rvelices
Message:

i.php better check dir creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/i.php

    r23499 r25385  
    5050    $mkd = @mkdir($dir, $conf['chmod_value'], true); 
    5151    umask($umask); 
    52     if ($mkd==false) 
     52    if ($mkd==false && !is_dir($dir) /* retest existence because of potential concurrent i.php with slow file systems*/) 
    5353    { 
    5454      return false; 
Note: See TracChangeset for help on using the changeset viewer.