mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-09 15:46:24 +02:00
11 lines
216 B
PHP
11 lines
216 B
PHP
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
|
|
|
/**
|
|
* Add new shortcode {siteurl}
|
|
*/
|
|
Shortcode::add('siteurl', 'returnSiteUrl');
|
|
function returnSiteUrl()
|
|
{
|
|
return Option::get('siteurl');
|
|
}
|