Skip to content

Commit

Permalink
ensure we load our database.php even if we have a weird include_path set
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@228 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Nov 7, 2011
1 parent ae3fa85 commit c9a2dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.php
Expand Up @@ -67,7 +67,7 @@ function _debug($string, $up = 0) {
die("please run /setup");
}

require_once("database.php");
require_once(dirname(__FILE__) . '/database.php');
require_once(dirname(__FILE__) . '/website_code/php/database_library.php');

$row = db_query_one("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}sitedetails");
Expand Down

0 comments on commit c9a2dea

Please sign in to comment.