81d21c311f
Moved config into $GLOBALS Moved request_uri into $GLOBALS Modified all files accordingly Modified logout page for future improvements (not deleting the entire $_SESSION) Fixed LICENSEs, moved LICENSE for PHP files in /lib/php subfolder instead of /lib
21 lines
480 B
PHP
21 lines
480 B
PHP
<?php
|
|
$database = new Database ( $GLOBALS [ 'config' ] [ 'db' ] );
|
|
$database->connect ( );
|
|
if ( isset ( $_POST [ 'forgot_email' ] ) ) {
|
|
//...
|
|
}
|
|
elseif ( isset ( $_POST [ 'forgot_username' ] ) ) {
|
|
//...
|
|
}
|
|
?>
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>BJPHoster URL Shortener | Password Reset</title>
|
|
</head>
|
|
<body>
|
|
<center>
|
|
<p>Reset your password here - Placeholder</p>
|
|
</center>
|
|
</body>
|
|
</html>
|