- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
<?php
$cd = dirname($_SERVER['SCRIPT_NAME'])."/resources";
$type=$_GET["type"];
if($type=="emptyhtml")
{
header("Last-Modified: " . gmdate('D, d M Y H:i:s', time()) . 'GMT');
header("Expires: " . gmdate('D, d M Y H:i:s', time() + 2592000) . 'GMT');
header("Content-Type: text/html");
echo("<html><head><title>EMPTY</title></head><body></body></html>");
exit(200);
}
else if($type=="script")
{
header("Content-Type: application/oct-stream"); // -< здесь ишибка
?>
if(!window.CuteWebUI_AjaxUploader_OnPostback)
window.CuteWebUI_AjaxUploader_OnPostback=function()
{