Fix issue with case-sensitive file systems

git-svn-id: http://php-reader.googlecode.com/svn/branches/zend@161 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2010-02-19 14:29:10 +00:00
parent 915200d4c1
commit 2151daf867
2 changed files with 34 additions and 22 deletions

View File

@@ -132,7 +132,8 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
if ($reader === null) {
$this->_identifier = strtoupper(substr(get_class($this), -4));
} else {
$this->_identifier = $this->_reader->readString8(4, " ");
$this->_identifier =
strtoupper($this->_reader->readString8(4, " "));
/* ID3v2.3.0 size and flags; convert flags to 2.4.0 format */
if ($this->getOption('version', 4) < 4) {
@@ -191,7 +192,7 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
*/
public final function getIdentifier()
{
return $this->_identifier;
return $this->_identifier;
}
/**
@@ -213,7 +214,7 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
*/
public final function getSize()
{
return $this->_size;
return $this->_size;
}
/**
@@ -235,7 +236,7 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
*/
public final function getFlags($flags)
{
return $this->_flags;
return $this->_flags;
}
/**
@@ -245,7 +246,7 @@ abstract class Zend_Media_Id3_Frame extends Zend_Media_Id3_Object
*/
public final function setFlags($flags)
{
$this->_flags = $flags;
$this->_flags = $flags;
}
/**