* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.210 2007/05/14 17:59:32 soranzo Exp $
+ * $Id: english.php,v 1.211 2007/07/18 20:54:34 xzilla Exp $
*/
// Language and character set
$lang['strimporterrorline-badcolumnnum'] = 'Import error on line %s: Line does not possess the correct number of columns.';
$lang['strimporterror-uploadedfile'] = 'Import error: File could not be uploaded to the server';
$lang['strcannotdumponwindows'] = 'Dumping of complex table and schema names on Windows is not supported.';
+ $lang['strnoserversupplied'] = 'No server supplied!';
// Tables
$lang['strtable'] = 'Table';
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.162 2007/05/14 17:59:32 soranzo Exp $
+ * $Id: english.php,v 1.163 2007/07/18 20:54:34 xzilla Exp $
*/
// Language and character set
$lang['strimporterrorline-badcolumnnum'] = 'Import error on line %s: Line does not possess the correct number of columns.';
$lang['strimporterror-uploadedfile'] = 'Import error: File could not be uploaded to the server';
$lang['strcannotdumponwindows'] = 'Dumping of complex table and schema names on Windows is not supported.';
+ $lang['strnoserversupplied'] = 'No server supplied!';
// Tables
$lang['strtable'] = 'Table';
/**
* Function library read in upon startup
*
- * $Id: lib.inc.php,v 1.118 2007/07/12 19:26:23 xzilla Exp $
+ * $Id: lib.inc.php,v 1.119 2007/07/18 20:54:34 xzilla Exp $
*/
include_once('./libraries/decorator.inc.php');
// Create data accessor object, if necessary
if (!isset($_no_db_connection)) {
if (!isset($_REQUEST['server'])) {
- die('No server supplied!');
- # TODO: nice error
- }
+ echo $lang['strnoserversupplied'];
+ exit;
+ }
$_server_info = $misc->getServerInfo();
// Redirect to the login form if not logged in