PHP 코드를 사용하여 UberCart (Drupal 모듈)의 버전 번호를 얻는 방법은 무엇입니까? 제안 해주세요. 감사!
Drupal에서 다음과 같은 일을하는 모듈의 버전을 얻을 수 있습니다.
$module_name = 'module_name';
if (module_exists($module_name) {
$module_list = system_list('module_enabled');
$module_version = $module_list[$module_name]->info['version'];
}
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다