From 85fd4c182c9d5b0239b1cd4cef457d02cb315a63 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Wed, 11 Jun 2014 09:36:14 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B4=E9=83=A8=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/header.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/views/scripts/header.phtml b/application/default/views/scripts/header.phtml index 75c77134..2f7fa6cb 100755 --- a/application/default/views/scripts/header.phtml +++ b/application/default/views/scripts/header.phtml @@ -17,7 +17,7 @@ { $user = $auth->getIdentity(); echo ' '.$user->username.' '; - if ($user->usertype=="administrator") + if ($user->usertype == $this->config->auth->identifier) { echo ' 后台 '; }