mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1403 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fa6bfa7717
commit
43336b2b6c
2 changed files with 3 additions and 2 deletions
|
|
@ -155,8 +155,8 @@
|
||||||
// DB 로그 작성
|
// DB 로그 작성
|
||||||
if(__DEBUG__>1) {
|
if(__DEBUG__>1) {
|
||||||
if($GLOBALS['__db_queries__']) {
|
if($GLOBALS['__db_queries__']) {
|
||||||
$buff .= "\n- DB Queries\n";
|
$buff .= "\n- DB Queries\n";
|
||||||
$buff .= $GLOBALS['__db_queries__'];
|
$buff .= $GLOBALS['__db_queries__'];
|
||||||
}
|
}
|
||||||
$buff .= "\n- Elapsed time\n";
|
$buff .= "\n- Elapsed time\n";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -348,6 +348,7 @@
|
||||||
header("Cache-Control: ");
|
header("Cache-Control: ");
|
||||||
header("Pragma: ");
|
header("Pragma: ");
|
||||||
header("Content-Type: application/octet-stream");
|
header("Content-Type: application/octet-stream");
|
||||||
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
|
|
||||||
header("Content-Length: " .(string)($file_obj->file_size));
|
header("Content-Length: " .(string)($file_obj->file_size));
|
||||||
header('Content-Disposition: attachment; filename="'.$filename.'"');
|
header('Content-Disposition: attachment; filename="'.$filename.'"');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue