$requirements['update']['value']=t('Out of date');
$requirements['update']['description']=t('Some modules have database schema updates to install. You should run the <a href="@update">database update script</a> immediately.',array('@update'=>base_path().'core/update.php'));
$requirements['update']['description']=t('Some modules have database schema updates to install. You should run the <a href="@update">database update script</a> immediately.',array('@update'=>\Drupal::url('system.db_update')));
break;
}
}
...
...
@@ -456,7 +456,7 @@ function system_requirements($phase) {
$requirements['update']['value']=t('Out of date');
$requirements['update']['description']=t('Some modules have database schema updates to install. You should run the <a href="@update">database update script</a> immediately.',array('@update'=>base_path().'update.php'));
$requirements['update']['description']=t('Some modules have database schema updates to install. You should run the <a href="@update">database update script</a> immediately.',array('@update'=>\Drupal::url('system.db_update')));
$output.='<p>'.t('Regularly review and install <a href="@updates">available updates</a> to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated.',array('@update-php'=>$base_url.'/core/update.php','@updates'=>\Drupal::url('update.status'))).'</p>';
$output.='<p>'.t('Regularly review and install <a href="@updates">available updates</a> to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated.',array('@update-php'=>\Drupal::url('system.db_update'),'@updates'=>\Drupal::url('update.status'))).'</p>';
}
else{
$output.='<p>'.t('Regularly review <a href="@updates">available updates</a> to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated.',array('@update-php'=>$base_url.'/core/update.php','@updates'=>\Drupal::url('update.status'))).'</p>';
$output.='<p>'.t('Regularly review <a href="@updates">available updates</a> to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated.',array('@update-php'=>\Drupal::url('system.db_update'),'@updates'=>\Drupal::url('update.status'))).'</p>';
}
}
else{
$output.='<p>'.t('Regularly review available updates to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated. Enable the Update Manager module to update and install modules and themes.',array('@update-php'=>$base_url.'/core/update.php')).'</p>';
$output.='<p>'.t('Regularly review available updates to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated. Enable the Update Manager module to update and install modules and themes.',array('@update-php'=>\Drupal::url('system.db_update'))).'</p>';