Skip to content
Snippets Groups Projects
Commit b73ee207 authored by Tim Clark's avatar Tim Clark
Browse files

ooops, shouldnt have checked in my hack

parent c3ea8ce0
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ $smarty->assign("baseurl", $baseurl);
// Initialise the database
require("/usr/share/php/adodb/adodb.inc.php");
$DB = NewADOConnection('postgres8');
$DB->Connect('dbname='.$dbname.' user=eclipse');
$DB->Connect('dbname='.$dbname.' user=apache');
$DB->SetFetchMode(ADODB_FETCH_ASSOC);
// Include the session library
......@@ -94,7 +94,7 @@ $smarty->assign("ssl_url", $ssl_url);
// Determine which component to run
$pathlist = explode('/', parse_url(@$_SERVER['ORIG_PATH_INFO'],PHP_URL_PATH));
$pathlist = explode('/', parse_url(@$_SERVER['PATH_INFO'],PHP_URL_PATH));
while (end($pathlist) === "") array_pop($pathlist);
$smarty->assign_by_ref("pathlist", $pathlist);
$path = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment