You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
if ($ext = pathinfo($request, PATHINFO_EXTENSION) ) {
if ( in_array($ext,array('xml','url','json')) )
$request = substr($request,0,-strlen($ext)-1);
}
$request = explode('/',$request);
if ( isset($request[0]) && trim($request[0]) && $ext != 'md' )
return require('api/router.php');
if ( isset($_POST['username']) && isset($_POST['password']) ) {
if ($u = db()->fetchOne("SELECT uid FROM users WHERE username='%s' AND password='%s' AND NOT level='disabled'",$_POST['username'],sha1($_POST['password']))) {