Browse Source

Added Function Google Analytics

pull/2/head
Mohamad Fahmi 12 years ago
parent
commit
efd0d5f5f5
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      system/includes/functions.php

+ 8
- 1
system/includes/functions.php View File

@ -600,6 +600,13 @@ function publisher(){
} }
} }
function analytics(){
$analytics = config('google.analytics.js');
if (!empty($analytics)) {
return $analytics;
}
}
// Menu // Menu
function menu(){ function menu(){
$menu = config('blog.menu'); $menu = config('blog.menu');
@ -641,4 +648,4 @@ function generate_rss($posts){
// Turn an array of posts into a JSON // Turn an array of posts into a JSON
function generate_json($posts){ function generate_json($posts){
return json_encode($posts); return json_encode($posts);
}
}

Loading…
Cancel
Save