Diff of /plugins/dump-zip.php [55c494] .. [5eb3ea]  Maximize  Restore

  Switch to unified view

a/plugins/dump-zip.php b/plugins/dump-zip.php
...
...
33
        }
33
        }
34
        return "";
34
        return "";
35
    }
35
    }
36
    
36
    
37
    function dumpHeaders($identifier, $multi_table = false) {
37
    function dumpHeaders($identifier, $multi_table = false) {
38
      $this->filename = "$identifier." . ($multi_table && ereg("[ct]sv", $_POST["format"]) ? "tar" : $_POST["format"]);
39
        if ($_POST["output"] == "zip") {
38
        if ($_POST["output"] == "zip") {
39
          $this->filename = "$identifier." . ($multi_table && ereg("[ct]sv", $_POST["format"]) ? "tar" : $_POST["format"]);
40
            header("Content-Type: application/zip");
40
            header("Content-Type: application/zip");
41
            ob_start(array($this, '_zip'));
41
            ob_start(array($this, '_zip'));
42
        }
42
        }
43
    }
43
    }
44
44

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks