File: 0.02.50a/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 Foobar. 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: 30: // Modules 31: require($BaseDir."nats.db.inc.php"); 32: require($BaseDir."nats.cfg.inc.php"); 33: require($BaseDir."freenats.inc.php"); 34: $NATS=new TFreeNATS(); 35: // just remains to call Start 36: 37: // Session Management 38: require($BaseDir."session.inc.php"); 39: $NATS_Session=new TNATS_Session(); 40: 41: // Tests 42: require($BaseDir."eval.inc.php"); 43: require($BaseDir."tests.inc.php"); 44: 45: // Screen and Stuff 46: require($BaseDir."screen.inc.php"); 47: require($BaseDir."testtext.inc.php"); 48: ?>