Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance language file loading to reduce dependency/errors from attemp…
…ting to load files based on $_SESSION which may not be set; improve error reporting if xerte instance is unconfigured (suggest /setup if db is not working), reindent php files and remove references to database_library.php from everywhere but config.php git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/branches/1.8@141 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
- Loading branch information
Dave Goodwin
committed
Oct 18, 2011
1 parent
4f50144
commit da2ee5a
Showing
116 changed files
with
5,362 additions
and
5,611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
<?PHP /** | ||
* | ||
* database page, has the settings for database connection | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
<?php | ||
/** | ||
* | ||
* database page, has the settings for database connection | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
|
||
/* | ||
* Host where database is | ||
*/ | ||
* Host where database is | ||
*/ | ||
$xerte_toolkits_site->database_host = "localhost"; | ||
|
||
/* | ||
* Username for database | ||
*/ | ||
* Username for database | ||
*/ | ||
$xerte_toolkits_site->database_username ="root"; | ||
|
||
/* | ||
* Password for database | ||
*/ | ||
* Password for database | ||
*/ | ||
$xerte_toolkits_site->database_password =""; | ||
|
||
/* | ||
* Database name | ||
*/ | ||
* Database name | ||
*/ | ||
$xerte_toolkits_site->database_name ="toolkits_data"; | ||
|
||
/* | ||
* Database table prefix | ||
*/ | ||
* Database table prefix | ||
*/ | ||
$xerte_toolkits_site->database_table_prefix =""; | ||
|
||
?> | ||
?> |
Oops, something went wrong.