Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Added url field for site component

givanz6d7cbf946ed3
diff --git a/app/component/site.php b/app/component/site.php
index df61046..ce57972 100755
--- a/app/component/site.php
+++ b/app/component/site.php
@@ -54,7 +54,8 @@ class Site extends ComponentBase {
}
}
- list($results) = Event :: trigger(__CLASS__,__FUNCTION__, $results);
+ $results['url'] = SITE_URL;
+ list($results) = Event :: trigger(__CLASS__,__FUNCTION__, $results);
return $results;
}