2 @define('CONST_ConnectionBucket_PageType', 'Status');
4 require_once(dirname(dirname(__FILE__)).'/lib/init-website.php');
6 function statusError($sMsg)
8 header("HTTP/1.0 500 Internal Server Error");
13 $oDB =& DB::connect(CONST_Database_DSN, false);
14 if (!$oDB || PEAR::isError($oDB))
16 statusError("No database");
19 $sLastUpdate = $oDB->getOne("select * from import_status");
20 if (PEAR::isError($sLastUpdate))
22 statusError("Update status unknown.");