From 92a6df8a94d01d0b7d3734a7e7b34b5362f2588c Mon Sep 17 00:00:00 2001 From: wonipapa Date: Fri, 12 May 2017 17:52:45 +0900 Subject: [PATCH] =?UTF-8?q?Notice=20Error=20=EC=B6=9C=EB=A0=A5=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20PHP=20=EB=B2=84=EC=A0=84=20=ED=99=95=EC=9D=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20PHP=20=EB=AA=A8=EB=93=88=20=ED=99=95?= =?UTF-8?q?=EC=9D=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epg2xml.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/epg2xml.php b/epg2xml.php index 827cf14..5a7eaf5 100644 --- a/epg2xml.php +++ b/epg2xml.php @@ -19,8 +19,20 @@ if(version_compare(PHP_VERSION, '5.6.11','<')) : printError("현재 PHP 버전은 ".PHP_VERSION." 입니다."); exit; endif; -if (!extension_loaded('json') && !extension_loaded('dom') && !extension_loaded('mbstring') && !extension_loaded('openssl')) : - printError("필요 모듈이 설치되지 않았습니다.\n json, dom, mbstring, openssl 모듈이 설치되어 있는지 확인하세요"); +if (!extension_loaded('json'))) : + printError("json 모듈이 설치되지 않았습니다."); + exit; +endif; +if (!extension_loaded('dom')) : + printError("dom 모듈이 설치되지 않았습니다."); + exit; +endif; +if (!extension_loaded('mbstring') : + printError("mbstring 모듈이 설치되지 않았습니다."); + exit; +endif; +if (!extension_loaded('openssl')) : + printError("openssl 모듈이 설치되지 않았습니다."); exit; endif;