Skip to content

Commit

Permalink
remove undefined constants and replace with strings - which is what t…
Browse files Browse the repository at this point in the history
…hey should be

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/branches/1.8@148 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 19, 2011
1 parent 54eead0 commit 90e81a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.php
@@ -1,6 +1,6 @@
<?php

require_once("config.php");
require_once(dirname(__FILE__) . "/config.php");

_load_language_file("/index.inc");

Expand Down Expand Up @@ -206,9 +206,9 @@ function show_page($extra,$xerte_toolkits_site){

$entry = $entry[1];

$_SESSION['toolkits_firstname'] = $entry[0][givenname][0];
$_SESSION['toolkits_firstname'] = $entry[0]['givenname'][0];

$_SESSION['toolkits_surname'] = $entry[0][sn][0];
$_SESSION['toolkits_surname'] = $entry[0]['sn'][0];

include $xerte_toolkits_site->php_library_path . "user_library.php";

Expand Down

0 comments on commit 90e81a4

Please sign in to comment.