1 |
<?php
|
2 |
//$Header: /hl/cvsroots/gpl01/gpl01/webprojs/fboprime/sw/phplib/devel.inc,v 1.2 2006/04/10 22:48:02 dashley Exp $
|
3 |
//--------------------------------------------------------------------------------------------------------------
|
4 |
//devel.inc--FboPrime Development Functions
|
5 |
//Copyright (C) 2006 David T. Ashley
|
6 |
//
|
7 |
//This program is free software; you can redistribute it and/or
|
8 |
//modify it under the terms of the GNU General Public License
|
9 |
//as published by the Free Software Foundation; either version 2
|
10 |
//of the License, or (at your option) any later version.
|
11 |
//
|
12 |
//This program is distributed in the hope that it will be useful,
|
13 |
//but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
//GNU General Public License for more details.
|
16 |
//
|
17 |
//You should have received a copy of the GNU General Public License
|
18 |
//along with this program; if not, write to the Free Software
|
19 |
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
//********************************************************************************
|
21 |
//This contains functions used in development and debugging of FBO-Prime. The
|
22 |
//contents of this file are kept separate to avoid introducing baggage into
|
23 |
//the production software.
|
24 |
//--------------------------------------------------------------------------------------------------------------
|
25 |
require_once("global.inc");
|
26 |
//
|
27 |
//--------------------------------------------------------------------------------------------------------------
|
28 |
//Emits the standard global variables of the pages.
|
29 |
//
|
30 |
function DEVEL_globals_emit()
|
31 |
{
|
32 |
global $GLOBAL_dbhandle;
|
33 |
global $GLOBAL_dblocked;
|
34 |
global $GLOBAL_html_indent_level;
|
35 |
global $GLOBAL_utime_sec;
|
36 |
global $GLOBAL_utime_sec_11;
|
37 |
global $GLOBAL_utime_nsec;
|
38 |
global $GLOBAL_stime_year;
|
39 |
global $GLOBAL_stime_month;
|
40 |
global $GLOBAL_stime_day;
|
41 |
global $GLOBAL_stime_hour;
|
42 |
global $GLOBAL_stime_minute;
|
43 |
global $GLOBAL_stime_second;
|
44 |
global $GLOBAL_stime_usec;
|
45 |
global $GLOBAL_stime_dow;
|
46 |
|
47 |
echo "<tt>\n";
|
48 |
echo "--------------------------------------------------------------------------------<br>\n";
|
49 |
echo "GLOBAL_dbhandle : " . $GLOBAL_dbhandle . "<br>\n";
|
50 |
echo "GLOBAL_dblocked : " . $GLOBAL_dblocked . "<br>\n";
|
51 |
echo "GLOBAL_html_indent_level : " . $GLOBAL_html_indent_level . "<br>\n";
|
52 |
echo "GLOBAL_utime_sec : " . $GLOBAL_utime_sec . "<br>\n";
|
53 |
echo "GLOBAL_utime_sec_11 : " . $GLOBAL_utime_sec_11 . "<br>\n";
|
54 |
echo "GLOBAL_utime_nsec : " . $GLOBAL_utime_nsec . "<br>\n";
|
55 |
echo "GLOBAL_stime_year : " . $GLOBAL_stime_year . "<br>\n";
|
56 |
echo "GLOBAL_stime_month : " . $GLOBAL_stime_month . "<br>\n";
|
57 |
echo "GLOBAL_stime_day : " . $GLOBAL_stime_day . "<br>\n";
|
58 |
echo "GLOBAL_stime_hour : " . $GLOBAL_stime_hour . "<br>\n";
|
59 |
echo "GLOBAL_stime_minute : " . $GLOBAL_stime_minute . "<br>\n";
|
60 |
echo "GLOBAL_stime_second : " . $GLOBAL_stime_second . "<br>\n";
|
61 |
echo "GLOBAL_stime_usec : " . $GLOBAL_stime_usec . "<br>\n";
|
62 |
echo "GLOBAL_stime_dow : " . $GLOBAL_stime_dow . "<br>\n";
|
63 |
echo "--------------------------------------------------------------------------------<br>\n";
|
64 |
echo "</tt>\n";
|
65 |
}
|
66 |
//--------------------------------------------------------------------------------------------------------------
|
67 |
//End of $RCSfile: devel.inc,v $.
|
68 |
//--------------------------------------------------------------------------------------------------------------
|
69 |
?>
|