src/php/main/Eix/Library/OpenID.php
public function ensureDir($dir_name)
    {
        if (is_dir($dir_name) || @mkdir($dir_name)) {
            return true;
        } else {
            $parent_dir = dirname($dir_name);

            // Terminal case; there is no parent directory to create.
            if ($parent_dir == $dir_name) {
                return true;
            }

            return (Auth_OpenID::ensureDir($parent_dir) && @mkdir($dir_name));
        }
    }
public function ensureDir($dir_name)
    {
        if (is_dir($dir_name) || @mkdir($dir_name)) {
            return true;
        } else {
            $parent_dir = dirname($dir_name);

            // Terminal case; there is no parent directory to create.
            if ($parent_dir == $dir_name) {
                return true;
            }

            return (Auth_OpenID::ensureDir($parent_dir) && @mkdir($dir_name));
        }
    }
public function ensureDir ( $ dir_name ) { if ( is_dir ( $ dir_name ) || @ mkdir ( $ dir_name ) ) { return true ; } else { $ parent_dir = dirname ( $ dir_name ) ; // Terminal case; there is no parent directory to create. if ( $ parent_dir == $ dir_name ) { return true ; } return ( Auth_OpenID :: ensureDir ( $ parent_dir ) && @ mkdir ( $ dir_name ) ) ; } }
Create dir_name as a directory if it does not exist. If it
exists, make sure that it is, in fact, a directory.  Returns
true if the operation succeeded; false if not.

@access private
Create dir_name as a directory if it does not exist . If it exists make sure that it is in fact a directory . Returns true if the operation succeeded ; false if not .