Dedicate /login to related pages, avoiding conflicts with user names.
# link to some ckeditor build (or checkout in a pinch)
/ckeditor
# link to some ckeditor build (or checkout in a pinch)
/ckeditor
+
+# dynamic user data
+/profile
}
# find password data by user name
}
# find password data by user name
- $userdir = 'login/'.strtolower($inuser);
+ $userdir = 'profile/'.strtolower($inuser);
$pwfile = "$userdir/.passwd";
if (!file_exists($pwfile)) return;
$usertest = trim(file_get_contents($pwfile));
$pwfile = "$userdir/.passwd";
if (!file_exists($pwfile)) return;
$usertest = trim(file_get_contents($pwfile));
if (empty($User)) {
ob_clean();
if (empty($User)) {
ob_clean();
- require_once 'login.inc.php';
+ require_once 'login/form.inc.php';
$part = ['warn' => $message];
print getoutput($part);
return TRUE;
$part = ['warn' => $message];
print getoutput($part);
return TRUE;