protected function createChunksFolderIfNeeded()
    {
        $path = $this->getChunkDirectory(true);

        // creates the chunks dir
        if (!file_exists($path)) {
            mkdir($path, 0777, true);
        }
    }
protected function createChunksFolderIfNeeded()
    {
        $path = $this->getChunkDirectory(true);

        // creates the chunks dir
        if (!file_exists($path)) {
            mkdir($path, 0777, true);
        }
    }
protected function createChunksFolderIfNeeded ( ) { $ path = $ this -> getChunkDirectory ( true ) ; // creates the chunks dir if ( ! file_exists ( $ path ) ) { mkdir ( $ path , 0777 , true ) ; } }
Crates the chunks folder if doesn't exists. Uses recursive create.
Crates the chunks folder if doesn t exists . Uses recursive create .