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

This commit is contained in:
chicpro committed 2013-12-27 11:55:11 +09:00
1 parent 4dc07fbd4b
commit 4d5026d9b5
2 files changed
+29

No files matched your search

+9
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)