summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-01-01 16:13:01 +0000
committerSteve Dibb <beandog@gentoo.org>2010-01-01 16:13:01 +0000
commitdb8ddea3a83b87784868e94dd7b239516ce442d6 (patch)
treeb293fb2f6c04fef284b1e0e3d056c9dc99e56d5b
parentCheck exact time of mtimes (diff)
downloadznurt-org-backend-db8ddea3a83b87784868e94dd7b239516ce442d6.tar.gz
znurt-org-backend-db8ddea3a83b87784868e94dd7b239516ce442d6.tar.bz2
znurt-org-backend-db8ddea3a83b87784868e94dd7b239516ce442d6.zip
add variable for current pg timestamp
git-svn-id: file:///var/svn/portage@30 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r--header.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/header.php b/header.php
index 617785d..1a6a8f7 100644
--- a/header.php
+++ b/header.php
@@ -8,6 +8,8 @@
$c = new Common();
+ $now = $db->getOne("SELECT NOW();");
+
function importDiff($table, $arr_new, $where = "") {
global $db;