EnterpriseDB UK Ltd."; $APP_VERSION = "1.1"; $APP_NAME = "pgPhoneHome"; // Ensure we can get error messages ini_set("track_errors", "1"); // Pull in the user config and utility stuff require "misc.php"; if (file_exists("config.php")) require "config.php"; else www_error("No configuration found", "No configuration file was found. Please copy config.php.in to config.php and edit as required."); // Check that the PostgreSQL module is available if (!extension_loaded("pgsql")) www_error("PHP configuration error", "The PostgreSQL module (pgsql) for PHP is not available. Please enable the module in your PHP configuration."); ?>