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 'Twitter'; + echo 'Twitter'; } if (!empty($facebook)) { - echo 'Facebook'; + echo 'Facebook'; } if (!empty($google)) { - echo 'Google+'; + echo 'Google+'; } if (!empty($tumblr)) { - echo 'Tumblr'; + echo 'Tumblr'; } - echo 'RSS Feed'; + echo 'RSS Feed'; } // Copyright