%s
", $errormessage ); } $loaded_extensions = array_flip(get_loaded_extensions()); if ( !check_pgsql() ) do_error("PHP 'pgsql' functions are not available" ); if ( !check_pdo() ) do_error("PHP 'PDO' module is not available" ); if ( !check_pdo_pgsql() ) do_error("The PDO drivers for PostgreSQL are not available" ); include("./always.php"); include("DAViCalSession.php"); ob_start( ); phpinfo(); $phpinfo = ob_get_contents( ); ob_end_clean( ); $phpinfo = preg_replace( '{^.*?}s', '', $phpinfo); $phpinfo = preg_replace( '{.*?$}s', '', $phpinfo); if ( check_pgsql() ) { $session->LoginRequired( (isset($c->restrict_setup_to_admin) && $c->restrict_setup_to_admin ? 'Admin' : null ) ); } include("interactive-page.php"); include("page-header.php"); require_once("AwlQuery.php"); function check_schema_version() { global $c; if ( $c->want_dbversion[0] == $c->schema_major && $c->want_dbversion[1] == $c->schema_minor && $c->want_dbversion[2] == $c->schema_patch ) { return true; } return false; } function check_davical_version() { global $c; $url = 'http://www.davical.org/current_davical_version?v='.$c->version_string; $version_file = @fopen($url, 'r'); if ( ! $version_file ) return translate("Could not retrieve") . " '$url'"; $current_version = trim(fread( $version_file,12)); fclose($version_file); return ( $c->version_string == $current_version ? true : $current_version ); } function check_awl_version() { global $c; if ( function_exists('awl_version') ) { return ( $c->want_awl_version == awl_version() ? true : sprintf( "want %f", $c->awl_library_version) ); } return false; } function build_site_statistics() { $principals = translate('No. of Principals'); $collections = translate('No. of Collections'); $resources = translate('No. of Resources'); $table = <<'.$config_warnings.'
$paragraph_setup
$paragraph_versions
| $th_dependency | $th_status |
|---|
$site_statistics_table
The client setup page on the DAViCal website has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.
The administrative interface has no facility for viewing or modifying calendar data.
If you can read this then things must be mostly working already.
$davical_configuration_errorsThe installation page on the DAViCal website has some further information on how to install and configure this application.
EOBODY; include("page-footer.php");