From c493c6f15211f1e2273f388b73e768745c0c28bd Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 2 Feb 2015 07:30:21 +0000 Subject: [PATCH] added @ to the call to file_get_contents in the project_home view --- codepot/src/codepot/views/project_home.php | 2 +- codepot/src/css/common.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 3d0e507b..abd171a7 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -102,7 +102,7 @@ $this->load->view ( { // old browsers don't support image data URI. $icon_path = CODEPOT_USERICON_DIR . '/' . $icons[$m]; - $icon_image = file_get_contents($icon_path); + $icon_image = @file_get_contents($icon_path); if ($icon_image) { $icon_src = sprintf ( diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 7a4f61c5..87ee3a14 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -490,6 +490,8 @@ pre.prettyprint li.L9 { background: #eee } .content .sidebar .box .user_icon_img { height: 2em; vertical-align: middle; + padding-top: 1px; + padding-bottom: 1px; } .content .sidebar .boxtitle {