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:
@@ -23,6 +23,7 @@
|
||||
$row = $result->fetch_assoc ( );
|
||||
if ( ! $row ) {
|
||||
header ( 'Content-Type: application/json' );
|
||||
http_response_code ( 401 );
|
||||
$response = [
|
||||
'status' => 401,
|
||||
'error_message' => 'Username or password not correct.',
|
||||
@@ -81,4 +82,3 @@
|
||||
</html>
|
||||
<?php
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user