From 8d6f84769f3f1df406f59691b94568b0367834fd Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Mon, 10 Feb 2014 00:08:34 +0700 Subject: [PATCH] Ups wrong file Ups wrong file edited. --- system/includes/functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/includes/functions.php b/system/includes/functions.php index dde77e1..367f675 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1312,6 +1312,12 @@ function generate_json($posts){ return json_encode($posts); } +// Return toolbar +function toolbar() { + $user = $_SESSION['user']; + $role = user('role', $user); + $base = site_url(); + echo << EOF;