make use of the new constants of the config file for db connection and base path

This commit is contained in:
Jonathan Ernst
2004-12-23 01:12:03 +00:00
committed by WineHQ
parent d5a6d34be6
commit ca749d32d9
25 changed files with 100 additions and 146 deletions

View File

@@ -112,7 +112,6 @@ function vote_get_user_votes($userId = null)
function vote_menu()
{
global $appId;
global $apidb_root;
$m = new htmlmenu("Votes","updatevote.php");
@@ -149,8 +148,8 @@ function vote_menu()
$m->addmisc("<input type=hidden name=appId value=$appId>");
$m->add("View Results", $apidb_root."votestats.php");
$m->add("Voting Help", $apidb_root."help/?topic=voting");
$m->add("View Results", BASE."votestats.php");
$m->add("Voting Help", BASE."help/?topic=voting");
$m->done(1);
}