CoreFiles by mySites.guru
index.php14 lines, 290 bytes, from wordpress-1.2-beta.zip
Raw History Compare with 1.2-mingus
md5
dfb7a618d90538b81ca0050b42f22aff
sha1
d913dcdc525f280f44032a49b1d63cbbe005a241
sha256
14ff2f1390eeabc09a2f6de46c621bc3d8af1f3d6a840e01541f47c0e2aa8395
<?php

require('../wp-config.php');
require_once('auth.php');

get_currentuserinfo();

if (0 == $user_level) {
	$redirect_to = get_settings('siteurl') . '/wp-admin/profile.php';
} else {
	$redirect_to = get_settings('siteurl') . '/wp-admin/post.php';
}
header ("Location: $redirect_to");
?>

The same content is in 6 releases, WordPress 1.2-delta to 1.2.2. See them all, or every version of this file.