]> andersk Git - sql-web.git/blame - lib/mitsql.lib.php
BASE_PATH calc'd and added to include_path
[sql-web.git] / lib / mitsql.lib.php
CommitLineData
997305cf
JP
1<?php
2/*
3 mitsql.lib.php
4 (c) 2005 Joe Presbrey
5 written for SIPB/MIT SQL service
6*/
7
8require_once('joe.lib.php');
9require_once('dbaccess.lib.php');
10
11require_once('mitsql.cfg.php');
12require_once('security.lib.php');
13
14require_once('display.lib.php');
15
16if (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
26INTERACTIVE && require_once('global.act.php');
27
28?>
This page took 0.051578 seconds and 5 git commands to generate.