pgupgrade.cgi 478 B

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