Differences From Artifact [d25c56997f]:

To Artifact [6668e725cc]:


606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
        rmdir($path);

        return true;
    }

    static public function plugin_url($params = [])
    {
        if (!defined('Garradin\PLUGIN_URL'))
        {
            $url = WWW_URL . 'admin/plugin/' . $params['id'] . '/';
        }
        else
        {
            $url = PLUGIN_URL;
        }







|







606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
        rmdir($path);

        return true;
    }

    static public function plugin_url($params = [])
    {
        if (isset($params['id']))
        {
            $url = WWW_URL . 'admin/plugin/' . $params['id'] . '/';
        }
        else
        {
            $url = PLUGIN_URL;
        }