lib/includes/loader.soap.php 1 location
|
@@ 282-288 (lines=7) @@
|
279 |
|
return $result; |
280 |
|
} |
281 |
|
|
282 |
|
function ldSetContent($mimetype, $size=0) { |
283 |
|
$result=ldHeader("Content-type: ".$mimetype); |
284 |
|
if ($size) { |
285 |
|
$result=ldHeader("Content-Length: ".$size); |
286 |
|
} |
287 |
|
return $result; |
288 |
|
} |
289 |
|
|
290 |
|
function ldGetServerVar($server_var) { |
291 |
|
return $_SERVER[$server_var]; |
lib/includes/loader.web.php 1 location
|
@@ 466-474 (lines=9) @@
|
463 |
|
return $result; |
464 |
|
} |
465 |
|
|
466 |
|
function ldSetContent($mimetype, $size=0) { |
467 |
|
global $ARCurrent; |
468 |
|
$result=ldHeader("Content-Type: ".$mimetype); |
469 |
|
$ARCurrent->arContentTypeSent = true; |
470 |
|
if ($size) { |
471 |
|
$result=ldHeader("Content-Length: ".$size); |
472 |
|
} |
473 |
|
return $result; |
474 |
|
} |
475 |
|
|
476 |
|
function ldGetServerVar($server_var = "") { |
477 |
|
if (!$server_var) { |