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:
parent
a2fded149f
commit
6312f49b03
@ -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';
|
||||
|
||||
@ -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);
|
||||
|
||||
5
templates/default/config.inc.php
Normal file
5
templates/default/config.inc.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$_CONFIG['album_cover_size'] = 130;
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user