dont set headers for cli
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
c2677682c4
commit
57403c7020
|
@ -676,6 +676,8 @@ class File extends Node implements IFile {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function header($string) {
|
protected function header($string) {
|
||||||
\header($string);
|
if (!\OC::$CLI) {
|
||||||
|
\header($string);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue