0
如何使用PHP代碼獲取UberCart(Drupal模塊)的版本號?請建議。謝謝!如何使用PHP代碼獲取UberCart的版本
如何使用PHP代碼獲取UberCart(Drupal模塊)的版本號?請建議。謝謝!如何使用PHP代碼獲取UberCart的版本
你可以在Drupal中獲得一個模塊版本。
$module_name = 'module_name';
if (module_exists($module_name) {
$module_list = system_list('module_enabled');
$module_version = $module_list[$module_name]->info['version'];
}
謝謝,我得到了你的答案。 –
很高興我能幫到你。如果您發現我的答案有用,請您接受答案?謝謝 – St0iK