결제모듈 실행권한 체크 기능 추가

This commit is contained in:
chicpro
2013-12-27 11:55:11 +09:00
parent 4dc07fbd4b
commit 4d5026d9b5
2 changed files with 29 additions and 0 deletions

View File

@ -2481,6 +2481,15 @@ function module_exec_check($exe, $type)
}
}
break;
case 'pp_cli':
exec($exe.' -h 2>&1', $out);
for($i=0; $i<count($out); $i++) {
if(strpos(strtoupper($out[$i]), 'PAYPLUS CLIENT') !== false) {
$search = true;
break;
}
}
break;
}
if(!$search)