Browse Source

Merge pull request #18 from nigelgbanks/ISLANDORA-322

ISLANDORA-322: Can't Install Islandora with out XSLT (PHP4 extension) alt
pull/19/head
Ben Woodhead 14 years ago
parent
commit
4f9665eac0
  1. 11
      fedora_repository.install

11
fedora_repository.install

@ -1,7 +1,5 @@
<?php
/**
* @file fedora_repository.install
*/
@ -79,11 +77,11 @@ function fedora_repository_requirements($phase) {
}
// Test for XSLT
$requirements['xslt']['title'] = "PHP XSLT extension library";
if ( ! function_exists('xslt_process') ) {
$requirements['xsl']['title'] = "PHP XSL extension library";
if (!class_exists('XSLTProcessor')) {
$requirements['xslt']['value'] = t("Not installed");
$requirements['xslt']['severity'] = REQUIREMENT_ERROR;
$requirements['xslt']['description'] = t("Ensure that the PHP XSLT extension is installed.");
$requirements['xslt']['description'] = t("Ensure that the PHP XSL extension is installed.");
}
else {
$requirements['xslt']['value'] = t("Installed");
@ -122,8 +120,7 @@ function fedora_repository_requirements($phase) {
if (!fedora_available()) {
$requirements['fedora-repository']['value'] = t("Not available");
$requirements['fedora-repository']['severity'] = REQUIREMENT_ERROR;
$requirements['fedora-repository']['description'] = t('Ensure that Fedora is running and that the <a href="@collection-settings">collection settings</a> are correct.',
array('@collection-settings' => $base_url . '/admin/settings/fedora_repository'));
$requirements['fedora-repository']['description'] = t('Ensure that Fedora is running and that the <a href="@collection-settings">collection settings</a> are correct.', array('@collection-settings' => $base_url . '/admin/settings/fedora_repository'));
}
else {
$requirements['fedora-repository']['value'] = t("Available");

Loading…
Cancel
Save