*
* Copyright 2005-2007 by Jeff MacMichael and Niels Leenheer
*
- * @version $Id: index.php 1644 2012-01-29 08:34:58Z sakamocchi $
+ * @version $Id: index.php 1796 2012-04-29 03:46:09Z sakamocchi $
* @version $NucleusJP: index.php,v 1.5.2.1 2005/08/25 07:04:13 kimitake Exp $
*
* ==========================================================================================
if (sfValidPath($directory) && file_exists($directory . $file) &&
is_file($directory . $file) && is_readable($directory . $file))
{
- if (strstr(serverVar('HTTP_USER_AGENT'), "MSIE"))
+ if ( i18n::strpos(serverVar('HTTP_USER_AGENT'), "MSIE") !== FALSE )
$name = preg_replace('/\./', '%2e', $file, substr_count($file, '.') - 1);
else
$name = $file;