Changeset 4917
- Timestamp:
- 02/23/07 00:31:09 (1 year ago)
- Files:
-
- trunk/wp-includes/gettext.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/gettext.php
r4736 r4917 109 109 // $MAGIC2 = (int)0xde120495; //bug 110 110 $MAGIC2 = (int) - 569244523; 111 // 64-bit fix 112 $MAGIC3 = (int) 2500072158; 111 113 112 114 $this->STREAM = $Reader; 113 115 $magic = $this->readint(); 114 if ($magic == ($MAGIC1 & 0xFFFFFFFF) ) { // to make sure it works for 64-bit platforms116 if ($magic == ($MAGIC1 & 0xFFFFFFFF) || $magic == ($MAGIC3 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms 115 117 $this->BYTEORDER = 0; 116 118 } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {
