<?php header("Content-Type: text/javascript"); $Config->AutoExpire=false; header("Expires: " . gmdate("D, d M Y H:i:s",time()+$Config->ExpireSeconds) . " GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); $jsname=TGET('file'); $COMMAND_TEMPLATE='scripts/'.$jsname.'.tmpl.js'; $dataset['max_image_file_size']=$Config->Limits['max_image_file_size']; $dataset['max_image_file_size.kb']=$Config->Limits['max_image_file_size']/1024; $Config->DisplayExecutionTime=false; ?>