File: 0.00.0a/base/nats.php (View as HTML)

  1: <?php
  2: if (!isset($BaseDir)) $BaseDir="./";
  3: 
  4: require($BaseDir."config.inc.php");
  5: 
  6: // Modules
  7: require($BaseDir."nats.db.inc.php");
  8: require($BaseDir."nats.cfg.inc.php");
  9: require($BaseDir."freenats.inc.php");
 10: $NATS=new TFreeNATS();
 11: // just remains to call Start
 12: 
 13: // Session Management
 14: require($BaseDir."session.inc.php");
 15: $NATS_Session=new TNATS_Session();
 16: 
 17: // Tests
 18: require($BaseDir."eval.inc.php");
 19: require($BaseDir."tests.inc.php");
 20: 
 21: // Screen and Stuff
 22: require($BaseDir."screen.inc.php");
 23: require($BaseDir."testtext.inc.php");
 24: ?>