1
0
mirror of https://github.com/danbee/neompc synced 2025-03-04 08:39:10 +00:00

~ Moved cover size config to the template as it's visual and makes more sense for it to be there.

This commit is contained in:
Dan Barber 2007-05-18 13:37:49 +00:00
parent a2fded149f
commit 6312f49b03
3 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,6 @@
/* music_directory must match you MPD music_directory config */
$_CONFIG['music_directory'] = '/home/danbee/Music';
$_CONFIG['album_cover_name'] = 'folder.jpg';
$_CONFIG['album_cover_size'] = 130;
/* Template to use for displaying the pages */
$_CONFIG['template'] = 'default';

View File

@ -22,7 +22,9 @@
$smarty->cache_dir = 'smarty/cache/';
$smarty->assign('version', $version);
$smarty->assign('template', $_CONFIG['template']);
$smarty->assign('template', $_CONFIG['template']);
require("templates/${_CONFIG['template']}/config.inc.php");
include('lib/mpd.class.php');
$mympd = new mpd('localhost',6600);

View File

@ -0,0 +1,5 @@
<?php
$_CONFIG['album_cover_size'] = 130;
?>