login/emulate: serve subpages instead of redirects
[minimedit.git] / login / emulate / index.php
index f240236129590766ffa79ff599f7898fe75be3e6..c3439a18c9453fbc84333bf837d222d1e24e29fe 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-ob_clean();
-
-$request = ltrim($Args, '/');
 if ($username = @$_REQUEST['login']) {
        try {
                $user = new User("profile/$username");
@@ -24,4 +21,3 @@ if ( $password = trim(@file_get_contents("{$user->dir}/.passwd")) ) {
        }
        $Place['pass'] = htmlspecialchars($password) ?: '<em>zelf ingesteld</em>';
 }
-include ($request ?: 'index').'.html';