File:
1.17.5a/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: require($BaseDir."rss.inc.php");
39:
40:
41: require($BaseDir."freenats.inc.php");
42: $NATS=new TFreeNATS();
43:
44: // Timer
45: require($BaseDir."timer.inc.php");
46:
47: // Tests
48: require($BaseDir."eval.inc.php");
49: require($BaseDir."tests.inc.php");
50:
51: // Scheduling Support
52: require($BaseDir."schedule.inc.php");
53:
54:
55: $NATS->Start();
56:
57: // Session Management
58: require($BaseDir."session.inc.php");
59: $NATS_Session=new TNATS_Session();
60:
61:
62:
63:
64:
65: // Screen and Stuff
66: require($BaseDir."screen.inc.php");
67: require($BaseDir."testtext.inc.php");
68: require($BaseDir."view.inc.php");
69: ?>