public static function hashInlineFileName($template_file, $block_index)
    {
        // Work around path inconsistencies on Windows/XAMPP.
        if (DIRECTORY_SEPARATOR === '\\') {
            $template_file = str_replace('\\', '/', $template_file);
        }

        return md5($template_file . $block_index);
    }
public static function hashInlineFileName($template_file, $block_index)
    {
        // Work around path inconsistencies on Windows/XAMPP.
        if (DIRECTORY_SEPARATOR === '\\') {
            $template_file = str_replace('\\', '/', $template_file);
        }

        return md5($template_file . $block_index);
    }
public static function hashInlineFileName ( $ template_file , $ block_index ) { // Work around path inconsistencies on Windows/XAMPP. if ( DIRECTORY_SEPARATOR === '\\' ) { $ template_file = str_replace ( '\\' , '/' , $ template_file ) ; } return md5 ( $ template_file . $ block_index ) ; }
Consistently calculate file name hashes.

@param $template_file
@param $block_index
@return string
Consistently calculate file name hashes .