]> andersk Git - sql-web.git/blob - lib/mitsql.lib.php
b275c304b8991b0e7a7cae02ba1bc559be4b3cd4
[sql-web.git] / lib / mitsql.lib.php
1 <?php
2 /*
3         mitsql.lib.php
4         (c) 2005 Joe Presbrey
5         written for SIPB/MIT SQL service
6 */
7
8 require_once('joe.lib.php');
9 require_once('dbaccess.lib.php');
10
11 require_once('mitsql.cfg.php');
12 require_once('security.lib.php');
13
14 require_once('display.lib.php');
15
16 if (isset($_SERVER['REQUEST_URI'])) {
17     //$thisPath=pathinfo($_SERVER['REQUEST_URI']);
18     //session_set_cookie_params(0, $thisPath['dirname']);
19     session_set_cookie_params(0, $BASE_URL);
20     session_start();
21     define('INTERACTIVE', 1);
22 } else {
23     define('INTERACTIVE', 0);
24 }
25
26 INTERACTIVE && require_once('global.act.php');
27
28 ?>
This page took 0.089726 seconds and 3 git commands to generate.