File:
1.11.1b/server/base/nats.php (
View as Code)
1: 2: /* -------------------------------------------------------------
3: This file is part of FreeNATS
4:
5: FreeNATS is (C) Copyright 2008 PurplePixie Systems
6:
7: FreeNATS is free software: you can redistribute it and/or modify
8: it under the terms of the GNU General Public License as published by
9: the Free Software Foundation, either version 3 of the License, or
10: (at your option) any later version.
11:
12: FreeNATS 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 FreeNATS. If not, see www.gnu.org/licenses
19:
20: For more information see www.purplepixie.org/freenats
21: -------------------------------------------------------------- */
22:
23: if (!isset($BaseDir)) $BaseDir="./";
24:
25: require($BaseDir."config.inc.php");
26:
27: // Stuff...
28: require($BaseDir."help.inc.php");
29: require($BaseDir."node.xml.inc.php");
30:
31:
32: // Modules
33: require($BaseDir."nats.db.inc.php");
34: require($BaseDir."nats.cfg.inc.php");
35: require($BaseDir."nats.tests.inc.php");
36: require($BaseDir."nats.lang.inc.php");
37:
38:
39: require($BaseDir."freenats.inc.php");
40: $NATS=new TFreeNATS();
41:
42: // Timer
43: require($BaseDir."timer.inc.php");
44:
45: // Tests
46: require($BaseDir."eval.inc.php");
47: require($BaseDir."tests.inc.php");
48:
49: // Scheduling Support
50: require($BaseDir."schedule.inc.php");
51:
52:
53: $NATS->Start();
54:
55: // Session Management
56: require($BaseDir."session.inc.php");
57: $NATS_Session=new TNATS_Session();
58:
59:
60:
61:
62:
63: // Screen and Stuff
64: require($BaseDir."screen.inc.php");
65: require($BaseDir."testtext.inc.php");
66: require($BaseDir."view.inc.php");
67: ?>