From 269cea4043760b0568f4c2aec7d5faacc6c2096e Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 27 Jan 2011 08:47:46 +0100 Subject: [PATCH] pgsql or file configurability --- TODO.txt | 2 +- web/Obj/auth.phh | 2 +- web/Obj/brisk.conf-templ.pho | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO.txt b/TODO.txt index 9e1e912..6ec54cc 100644 --- a/TODO.txt +++ b/TODO.txt @@ -5,7 +5,7 @@ BRISK4 (brisk) ====== DB: - initial usage - - configurabilità file o db + DONE - configurabilità file o db - travasatore file to pg - sistema di inserimento nuovi utenti diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh index 8a3728f..f25e01a 100644 --- a/web/Obj/auth.phh +++ b/web/Obj/auth.phh @@ -22,7 +22,7 @@ * */ -require_once("Obj/dbase_pgsql.phh"); +require_once("Obj/dbase_".$G_dbasetype.".phh"); define(CHAL_SHM_DIMS_MIN, 16384); define(CHAL_SHM_DIMS_MAX, 65536); diff --git a/web/Obj/brisk.conf-templ.pho b/web/Obj/brisk.conf-templ.pho index 4739582..8ebf9b5 100644 --- a/web/Obj/brisk.conf-templ.pho +++ b/web/Obj/brisk.conf-templ.pho @@ -1,4 +1,6 @@