Changeset 23543
- Timestamp:
- 11/03/09 09:19:42 (4 years ago)
- Files:
-
- branches/1.0/lib/helper/AssetHelper.php (modified) (1 diff)
- branches/1.0/lib/helper/FormHelper.php (modified) (1 diff)
- branches/1.0/lib/response/sfWebResponse.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/helper/AssetHelper.php
r17078 r23543 282 282 if (isset($options['size'])) 283 283 { 284 list($options['width'], $options['height']) = split('x', $options['size'], 2);284 list($options['width'], $options['height']) = explode('x', $options['size'], 2); 285 285 unset($options['size']); 286 286 } branches/1.0/lib/helper/FormHelper.php
r12201 r23543 422 422 if ($size = _get_option($options, 'size')) 423 423 { 424 list($options['cols'], $options['rows']) = split('x', $size, 2);424 list($options['cols'], $options['rows']) = explode('x', $size, 2); 425 425 } 426 426 branches/1.0/lib/response/sfWebResponse.class.php
r9969 r23543 366 366 if ($vary) 367 367 { 368 $currentHeaders = split('/\s*,\s*/', $vary);368 $currentHeaders = preg_split('/\s*,\s*/', $vary); 369 369 } 370 370 $header = $this->normalizeHeaderName($header); … … 389 389 if ($cacheControl) 390 390 { 391 foreach ( split('/\s*,\s*/', $cacheControl) as $tmp)391 foreach (preg_split('/\s*,\s*/', $cacheControl) as $tmp) 392 392 { 393 393 $tmp = explode('=', $tmp);