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

@@ -6,15 +6,12 @@
include("path.php");
require(BASE."include/"."incl.php");
global $apidb_root;
function admin_menu()
{
global $noteId;
global $apidb_root;
$m = new htmlmenu("Admin");
$m->add("Edit this Note", $apidb_root."admin/editAppNote.php?noteId=$noteId");
$m->add("Edit this Note", BASE."admin/editAppNote.php?noteId=$noteId");
$m->done();
}