1<?php
2function my_custom_login_logo() {
3echo '<style type="text/css">
4h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) !important; }
5</style>';
6}
7add_action('login_head', 'my_custom_login_logo');
8?>