Roxen.git / server / etc / modules / DBManager.pmod

version» Context lines:

Roxen.git/server/etc/modules/DBManager.pmod:1797:    if( !sizeof(query( "SELECT tbl FROM db_backups WHERE "    "db=%s AND directory=%s",    "docs", getcwd()+"/etc" ) ) )    query("INSERT INTO db_backups (db,tbl,directory,whn) "    "VALUES ('docs','docs','"+getcwd()+"/etc','"+time()+"')");    }       return;    };    +  if (err) {    werror( describe_backtrace( err ) ); -  +  } else { +  werror("DBManager: Internal error; something threw a %O.\n", err);    } -  + }