File src/include/lib/Garradin/Plugin.php artifact 00ecaf4706 part of check-in a8251477ac0350b4d690e9cdcb8123a497589be0ce367a38983a77d8fc476f66


<?php

namespace Garradin;

use Garradin\Users\Session;

class Plugin
{


	static public function getURL(string $id, string $path = '')
	{
		return ADMIN_URL . 'p/' . $id . '/' . ltrim($path, '/');
	}

	static public function getPublicURL(string $id, string $path = '')
	{
		return WWW_URL . 'p/' . $id . '/' . ltrim($path, '/');
	}



}