1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00
This commit is contained in:
SUTJael 2014-04-18 18:00:59 +02:00
parent 4f07aaf565
commit abba0441f9
2 changed files with 4 additions and 2 deletions

View file

@ -82,7 +82,10 @@ class Art extends database_object
*/
public static function _auto_init()
{
self::$enabled = true;
if (!isset($_SESSION['art_enabled'])) {
$_SESSION['art_enabled'] = (AmpConfig::get('bandwidth') > 25);
}
self::$enabled = make_bool($_SESSION['art_enabled']);
}
/**

View file

@ -267,7 +267,6 @@ END;
return $url;
}
/**
* show_header
*