Codebase list phpggc / 9a88393 gadgetchains / PHPExcel / FD / 1 / gadgets.php
9a88393

Tree @9a88393 (Download .tar.gz)

gadgets.php @9a88393raw · history · blame

<?php

# https://github.com/PHPOffice/PHPExcel/blob/1.8.2/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php
class PHPExcel_CachedObjectStorage_DiscISAM {
    private $fileName = null;
    private $fileHandle = 42;

    public function __construct($filePath) {
        $this->fileName = $filePath;
    }

    /*
    public function __destruct() {
        if (!is_null($this->fileHandle)) {
            fclose($this->fileHandle); // Will only produce a warning
            unlink($this->fileName);
        }
        $this->fileHandle = null;
    }
    */
}