<?php declare(strict_types=1);
defined('MW_PATH') or exit('No direct script access allowed');

/**
 * FooterWidget
 *
 * @package MailWizz EMA
 * @author MailWizz Development Team <support@mailwizz.com>
 * @link https://www.mailwizz.com/
 * @copyright MailWizz EMA (https://www.mailwizz.com)
 * @license https://www.mailwizz.com/license/
 * @since 1.9.15
 */

class FooterWidget extends CWidget
{
    /**
     * @throws CException
     *
     * @return void
     */
    public function run()
    {
        $view = 'footer';
        if ($this->getViewFile($view . '-custom') !== false) {
            $view .= '-custom';
        }

        $this->render($view);
    }
}
