pgupgrade.cgi 578 B

123456789101112131415161718192021222324252627
  1. #!/usr/local/cpanel/3rdparty/bin/perl
  2. package Troglodyne::CGI::PgUpgrade;
  3. use strict;
  4. use warnings;
  5. use Cpanel::LoadModule::Custom ();
  6. run() unless caller();
  7. sub run {
  8. Cpanel::LoadModule::Custom::load_perl_module("Troglodyne::CGI");
  9. print "Content-type: text/html\r\n\r\n";
  10. Troglodyne::CGI::render_cached_or_process_template(
  11. 'whostmgr',
  12. {
  13. 'troglodyne_do_static_render' => 1,
  14. 'template_file' => "troglodyne/pgupgrade.tmpl",
  15. 'print' => 1,
  16. },
  17. );
  18. exit;
  19. }
  20. 1;