protected function makeDir($fileName)
    {
        $dir = dirname($fileName);

        if (! file_exists($dir)) {
            mkdir($dir, 0775, true);
        }
    }
protected function makeDir($fileName)
    {
        $dir = dirname($fileName);

        if (! file_exists($dir)) {
            mkdir($dir, 0775, true);
        }
    }
protected function makeDir ( $ fileName ) { $ dir = dirname ( $ fileName ) ; if ( ! file_exists ( $ dir ) ) { mkdir ( $ dir , 0775 , true ) ; } }
Create base directory for files.

@param $fileName
Create base directory for files .