class SmcController_ManageConverter extends SmcController
{
protected $_converterGroupForm;
protected $_converterForm;
// Classes have their advantages, such as a constructor.
public function __construct()
{
global $download_prefix, $site_connections;
if (empty($site_connections['downloads']['read']))
$download_prefix = siteman_load_db('downloads');
}
public function action_index()
{
// Default to 'sa=add'.
return $this->action_add();
}