added @ to the call to file_get_contents in the project_home view

This commit is contained in:
hyung-hwan 2015-02-02 07:30:21 +00:00
parent cf220eb01a
commit c493c6f152
2 changed files with 3 additions and 1 deletions

View File

@ -102,7 +102,7 @@ $this->load->view (
{ {
// old browsers don't support image data URI. // old browsers don't support image data URI.
$icon_path = CODEPOT_USERICON_DIR . '/' . $icons[$m]; $icon_path = CODEPOT_USERICON_DIR . '/' . $icons[$m];
$icon_image = file_get_contents($icon_path); $icon_image = @file_get_contents($icon_path);
if ($icon_image) if ($icon_image)
{ {
$icon_src = sprintf ( $icon_src = sprintf (

View File

@ -490,6 +490,8 @@ pre.prettyprint li.L9 { background: #eee }
.content .sidebar .box .user_icon_img { .content .sidebar .box .user_icon_img {
height: 2em; height: 2em;
vertical-align: middle; vertical-align: middle;
padding-top: 1px;
padding-bottom: 1px;
} }
.content .sidebar .boxtitle { .content .sidebar .boxtitle {