There is a better way than using global variable $pagenow to detect current page if is login page, like a is_admin() ?
$pagenow
is_admin()
if ($pagenow !=
Can't you explain what are you going to do with it? So I can tell if you should code using wordpress hooks.
or you can use the absolute uri, just match it with wp-login.php
?>