diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-04-23 07:31:05 +0000 |
commit | a31560aec4f004e58930277758f5412d86c62adc (patch) | |
tree | 845ff6947d26b22a0f4527901dbefc97bca89d78 /admin | |
parent | 8b27d66add7ca9ba57d7e9488612cb54be4b11c1 (diff) | |
download | ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.gz ampache-a31560aec4f004e58930277758f5412d86c62adc.tar.bz2 ampache-a31560aec4f004e58930277758f5412d86c62adc.zip |
it technically logs in and streams.. but thats it, complete rewrite almost everything broken
Diffstat (limited to 'admin')
-rw-r--r-- | admin/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/index.php b/admin/index.php index 96f2616f..99631f29 100644 --- a/admin/index.php +++ b/admin/index.php @@ -20,7 +20,7 @@ */ -require ('../lib/init.php'); +require '../lib/init.php'; $action = scrub_in($_REQUEST['action']); @@ -29,12 +29,12 @@ if (!$GLOBALS['user']->has_access(100)) { exit(); } - -show_template('header'); ?> +require_once Config::get('prefix') . '/templates/header.inc.php'; +?> <div id="admin-tools"> - <?php require (conf('prefix') . '/templates/show_admin_tools.inc.php'); ?> + <?php require Config::get('prefix') . '/templates/show_admin_tools.inc.php'; ?> </div> <div id="admin-info"> - <?php require (conf('prefix') . '/templates/show_admin_info.inc.php'); ?> + <?php require Config::get('prefix') . '/templates/show_admin_info.inc.php'; ?> </div> <?php show_footer(); ?> |