diff --git a/flextype/shortcodes/SiteUrlShortcode.php b/flextype/shortcodes/SiteUrlShortcode.php deleted file mode 100644 index 974b8e3b..00000000 --- a/flextype/shortcodes/SiteUrlShortcode.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @link http://romanenko.digital - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Flextype; - -use Thunder\Shortcode\ShortcodeFacade; -use Thunder\Shortcode\Shortcode\ShortcodeInterface; - -// Shortcode: [site_url] -$flextype['shortcodes']->addHandler('site_url', function () { - return \Slim\Http\Uri::createFromEnvironment(new \Slim\Http\Environment($_SERVER))->getBaseUrl(); -});