Skip to content

Commit

Permalink
warning 메시지를 표시하지 않도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Feb 9, 2014
1 parent 2f1c50b commit 1a361bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*/
if(version_compare(PHP_VERSION, '5.4.0', '<'))
{
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING);
}
else
{
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
}

if(!defined('__XE__'))
Expand Down

5 comments on commit 1a361bb

@bjrambo
Copy link
Contributor

@bjrambo bjrambo commented on 1a361bb Feb 9, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bnu 저기 혹시 이걸 적용하면 만약 충돌문제로 워링메세지가 뜨던것들을 아에 못보게 되는건가요?..

@bjrambo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bnu 아하 그렇군요 ~ 바쁘신와중에 답변 감사합니다 (_ _ )~~ 항상 xe커밋내용을 보다보면.. 궁금한게 생기다보니 ^^;; 항상고마워요! ㅎㅎ 👍

@bjrambo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bnu 이코드.. if($logged_info->is_admins == 'Y') 이런형태로 묶어서 최고관리자에게만 노출 시켜주는건 어떤가요?
어차피 일반유저들에게 warning 메세지가 보이지 않아서 호스팅루트도 보이지 않고, 관리자가 직접 볼수 잇는 시스템이 되니깐.. 그렇게 하는게 좋지 않을까요?(다만 코드상 길어지겟지만..)


아.. config. 쪽이라서 선언이 안되겟군요..

@khongchi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qw5414 is_admin이 셋팅될 때까지 시간이 좀 걸린다는게 문제겠네요

@bjrambo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khongchi 넵 그렇네요. (_ _ ) 답변 감사합니다.ㅎㅎ

Please sign in to comment.