function post($req)
{
$this->initErrorHandling();
+
+ if ($this->database_is_locked()) {
+ die("FAILED");
+ }
+
+
$cd = DB_DataObject::Factory('core_enum');
$cd->setFrom(array(
'etype' => 'heartbeat',
// print_r($err);
die("FAILED");
}
+
+
}
\ No newline at end of file
function get($r,$opts=array())
{
+
+ if ($this->database_is_locked()) {
+ die("LATER - DATABASE IS LOCKED");
+ }
+
+
$this->parseArgs($opts);
//date_default_timezone_set('UTC');
function get($id,$opts=array())
{
-
+ if ($this->database_is_locked()) {
+ die("LATER - DATABASE IS LOCKED");
+ }
//print_r($opts);
if (!empty($opts['DB_DataObject-debug'])) {
DB_DataObject::debugLevel($opts['DB_DataObject-debug']);