Fix download without X-Accel-Redirect
This commit is contained in:
parent
fe55e86def
commit
7b382b2420
2
data.php
2
data.php
|
@ -62,7 +62,7 @@ class Data extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFilename () {
|
public function getFilename () {
|
||||||
$this->name . "." . strtolower ($this->format);
|
return $this->name . "." . strtolower ($this->format);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDataLink ($rel, $title = NULL) {
|
public function getDataLink ($rel, $title = NULL) {
|
||||||
|
|
Loading…
Reference in a new issue