getHeader(); $scripts = $header->getScripts(); $scripts->addFile('import.js'); /** * Does the common work */ require 'libraries/server_common.inc.php'; $response = Response::getInstance(); $response->addHTML( Import::get( 'server', $db, $table, $max_upload_size ) );