You've already forked OpenShorte.old
Minor changes
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
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<?php
|
||||
$database = new Database ( $GLOBALS [ 'config' ] [ 'db' ] );
|
||||
$database->connect ( );
|
||||
if ( isset ( $_POST [ 'forgot_email' ] ) ) {
|
||||
//...
|
||||
}
|
||||
elseif ( isset ( $_POST [ 'forgot_username' ] ) ) {
|
||||
//...
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
|
Reference in New Issue
Block a user