diff options
-rw-r--r-- | batch.php | 2 | ||||
-rwxr-xr-x | docs/CHANGELOG | 1 | ||||
-rw-r--r-- | lib/class/stream.class.php | 1 | ||||
-rw-r--r-- | templates/show_install_check.inc.php | 8 |
4 files changed, 10 insertions, 2 deletions
@@ -69,5 +69,5 @@ switch ($_REQUEST['action']) { $song_files = get_song_files($media_ids); set_memory_limit($song_files['1']+32); send_zip($name,$song_files['0']); - +exit; ?> diff --git a/docs/CHANGELOG b/docs/CHANGELOG index da11a5be..3de0dffe 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,7 @@ -------------------------------------------------------------------------- v.3.6-Alpha1 + - Fix random methods not working for localplay - Fixed extra space on prefixed albums (Thx ibizaman) - Add missing operator on tag and rating searches so they will work with other methods (Thx kiehnet@netscape.net) diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index 0384a991..79fb5e83 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -514,6 +514,7 @@ class Stream { // Add check for video support case 'song': case 'radio': + case 'random': $media = new $type(array_shift($element)); break; default: diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php index 93ceafc7..5567ca59 100644 --- a/templates/show_install_check.inc.php +++ b/templates/show_install_check.inc.php @@ -28,7 +28,13 @@ <?php if(!check_php_ver()) { if (function_exists('hash_algos')) { $algos = hash_algos(); } - $string = phpversion() . " " . _('Hash Function Exists') . " " . print_boolean(function_exists('hash_algos')) . " " . _('SHA256 Support') . " " . print_boolean(in_array('sha256',$algos)); + if (strtoupper(substr(PHP_OS,0,3)) == 'WIN') { + $version_string = phpversion() . " < PHP 5.3 "; + } + else { + $version_string = phpversion() . " "; + } + $string = $version_string . _('Hash Function Exists') . " " . print_boolean(function_exists('hash_algos')) . " " . _('SHA256 Support') . " " . print_boolean(in_array('sha256',$algos)); echo debug_result($string,false); Error::add('install',_('PHP Version')); } |