mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-10 08:06:45 +02:00
8 lines
212 B
PHP
8 lines
212 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'); }
|