1 <?php // rcs_id('$Id$');
3 require_once('lib/WikiDB.php');
4 require_once('lib/WikiDB/backend/dba.php');
8 class WikiDB_dba extends WikiDB
10 function WikiDB_dba ($dbparams) {
11 $backend = new WikiDB_backend_dba($dbparams);
12 $this->WikiDB($backend, $dbparams);
14 if (empty($dbparams['directory'])
15 || preg_match('@^/tmp\b@', $dbparams['directory']))
16 trigger_error(sprintf(_("The %s files are in the %s directory. Please read the INSTALL file and move the database to a permanent location or risk losing all the pages!"),
17 "DBA", "/tmp"), E_USER_WARNING);
21 // (c-file-style: "gnu")
26 // c-hanging-comment-ender-p: nil
27 // indent-tabs-mode: nil