-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb.php
executable file
·42 lines (33 loc) · 850 Bytes
/
db.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/* SVN FILE: $Id: html-all.php 185 2009-02-08 15:48:54Z david@ramaboo.com $ */
/**
* @brief Used for testing the Boo_Db object.
*
* @file
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU General Public License
* @link http://code.ramaboo.com/ Boo Framework
* @copyright 2008 David Singer
* @author David Singer <david@ramaboo.com>
* @version 2.0.1
* @see Boo_Db
*/
require_once 'config/default.php';
safe_tests();
include 'includes/header-simple.php';
?>
<div id="main" class="clearfix">
<?php
//$db = new Boo_Db('boo', 'foo');
$user = new Boo_User;
echo $user->getTableName();
br();
$io = new Boo_Io;
$io->setTableName('moo');
echo $io->getTableName();
br();
echo $user->getTableName();
br();
// echo $db->getTableName();
?>
</div>
<?php include 'includes/footer-simple.php'; ?>