diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-22 08:39:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-22 08:39:24 +0000 |
commit | 56ce11f771d173f559f2608c83422a94fcc37165 (patch) | |
tree | d537804a9c707cf7fb1743fb8d112bb87040f718 /templates/header.inc | |
parent | 595b211d5e59e320586d09e16878b24bdb8b3375 (diff) | |
download | ampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.gz ampache-56ce11f771d173f559f2608c83422a94fcc37165.tar.bz2 ampache-56ce11f771d173f559f2608c83422a94fcc37165.zip |
added config version check, fixed play selected bug reported by chenb and fixed wmp11 now playing issue
Diffstat (limited to 'templates/header.inc')
-rw-r--r-- | templates/header.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/header.inc b/templates/header.inc index d1ada535..289a7779 100644 --- a/templates/header.inc +++ b/templates/header.inc @@ -69,3 +69,9 @@ if (conf('use_rss')) { ?> <div id="content"> <!-- I hate IE... --> <table class="smeg-ie"><tr><td> +<?php if (conf('int_config_version') != conf('config_version') AND $GLOBALS['user']->has_access(100)) { ?> +<div class="fatalerror"> + <?php echo _('Error Config File Out of Date'); ?> + <a href="<?php conf('web_path'); ?>/admin/system.php?action=generate_config"><?php echo _('Generate New Config'); ?></a> +</div> +<?php } ?> |