From 5ad7a5aca218a55479918ba25f84b2d171343be6 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 13 Feb 2018 17:48:26 +0900 Subject: [PATCH] Update base.php --- system/base.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/system/base.php b/system/base.php index 5ef3ee2..fcda5e7 100644 --- a/system/base.php +++ b/system/base.php @@ -6,11 +6,6 @@ if(!function_exists('renderView')) { extract($data); } - // set user profile - if(function_exists("get_user_profile")) { - $user_profile = get_user_profile(); - } - // load view file $viewfile = './view/' . $name . '.php'; if(file_exists($viewfile)) { @@ -22,16 +17,10 @@ if(!function_exists('renderView')) { // load helper if(!function_exists('loadHelper')) { function loadHelper($name) { - // set user profile - if(function_exists("get_user_profile")) { - $user_profile = get_user_profile(); - } - // load helper file - $helperfile = './helper/' . $name . '.php'; if(file_exists($helperfile)) { - include($helperfile); + include($helperfile); } } }