diff --git a/system/includes/functions.php b/system/includes/functions.php
index c828d5b..caff264 100644
--- a/system/includes/functions.php
+++ b/system/includes/functions.php
@@ -852,31 +852,36 @@ function base64_encode_image($filename = string, $filetype = string) {
}
// Social links
-function social() {
+function social($imgDir = null) {
$twitter = config('social.twitter');
$facebook = config('social.facebook');
$google = config('social.google');
$tumblr = config('social.tumblr');
$rss = site_url() . 'feed/rss';
+
+ if($imgDir === null)
+ {
+ $imgDir = "default/img/";
+ }
if (!empty($twitter)) {
- echo '
';
+ echo '
';
}
if (!empty($facebook)) {
- echo '
';
+ echo '
';
}
if (!empty($google)) {
- echo '
';
+ echo '
';
}
if (!empty($tumblr)) {
- echo '
';
+ echo '
';
}
- echo '
';
+ echo '
';
}
// Copyright