1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Core Improvements: Next Round #79 #80

This commit is contained in:
Awilum
2013-01-06 17:34:03 +02:00
parent a05aa4d379
commit 5e332c4a52
4 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?php
/**
* Add new shortcode {siteurl}
*/
Shortcode::add('siteurl', 'returnSiteUrl');
function returnSiteUrl() { return Option::get('siteurl'); }