You've already forked OpenShorte.old
Website refactored
Prepared the website structure for the new layout
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
case "logout":
|
||||
include ( 'lib/php/logout.php' );
|
||||
break;
|
||||
case "insert":
|
||||
include ( 'lib/php/insert.php' );
|
||||
case "dashboard":
|
||||
include ( 'lib/php/dashboard.php' );
|
||||
break;
|
||||
default:
|
||||
http_response_code ( 404 );
|
||||
@@ -24,5 +24,5 @@
|
||||
}
|
||||
}
|
||||
else {
|
||||
header ( "Location: " . substr ( $_SERVER [ 'SCRIPT_NAME' ], 0, -10 ) . "/login" );
|
||||
header ( "Location: " . $GLOBALS [ 'config' ] [ 'installation_path' ] . "/dashboard" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user