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 /index.php | |
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 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -24,8 +24,8 @@ @discussion Do most of the dirty work of displaying the mp3 catalog */ -require_once('lib/init.php'); -show_template('header'); +require_once 'lib/init.php'; +require_once Config::get('prefix') . '/templates/header.inc.php'; $action = scrub_in($_REQUEST['action']); @@ -34,14 +34,14 @@ $action = scrub_in($_REQUEST['action']); * refresh_javascript include. Must be greater then 5, I'm not * going to let them break their servers */ -if (conf('refresh_limit') > 5) { - $ajax_url = conf('ajax_url') . '?action=reloadnp' . conf('ajax_info'); +if (Config::get('refresh_limit') > 5) { + $ajax_url = Config::get('ajax_url') . '?action=reloadnp' . Config::get('ajax_info'); /* Can't have the & stuff in the Javascript */ $ajax_url = str_replace("&","&",$ajax_url); - require_once(conf('prefix') . '/templates/javascript_refresh.inc.php'); + require_once Config::get('prefix') . '/templates/javascript_refresh.inc.php'; } -require_once(conf('prefix') . '/templates/show_index.inc.php'); +require_once Config::get('prefix') . '/templates/show_index.inc.php'; show_footer(); |