0
0

Website refactored

Prepared the website structure for the new layout
This commit is contained in:
Bryan
2019-05-29 19:01:38 +02:00
parent eeffcd93cf
commit b21dd0518d
10 changed files with 150 additions and 87 deletions

View File

@@ -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" );
}