public function extractCore()
    {
        $filePath = $this->getFilePath('core');

        if (!Zip::extract($filePath, $this->baseDirectory)) {
            throw new ApplicationException(Lang::get('system::lang.zip.extract_failed', ['file' => $filePath]));
        }

        @unlink($filePath);
    }
public function extractCore()
    {
        $filePath = $this->getFilePath('core');

        if (!Zip::extract($filePath, $this->baseDirectory)) {
            throw new ApplicationException(Lang::get('system::lang.zip.extract_failed', ['file' => $filePath]));
        }

        @unlink($filePath);
    }
public function extractCore ( ) { $ filePath = $ this -> getFilePath ( 'core' ) ; if ( ! Zip :: extract ( $ filePath , $ this -> baseDirectory ) ) { throw new ApplicationException ( Lang :: get ( 'system::lang.zip.extract_failed' , [ 'file' => $ filePath ] ) ) ; } @ unlink ( $ filePath ) ; }
Extracts the core after it has been downloaded.
@return void
Extracts the core after it has been downloaded .