1<?php
2
3if (!defined('PHPLISTINIT')) {
4    die();
5}
6verifyCsrfGetToken();
7
8if ($_GET['update'] == 'tlds') {
9    refreshTlds(true);
10    $tlds = explode('|', getConfig('internet_tlds'));
11}
12
13$status = s('Top level domains were updated successfully');
14$status .= '<br/>'.s('%d Top Level Domains', count($tlds));
15