Converted Sharp Chat routes to Index.

This commit is contained in:
flash 2022-06-10 20:26:24 +02:00
parent 6e650923d8
commit 7d6b94294f
5 changed files with 350 additions and 342 deletions

View file

@ -105,7 +105,7 @@ if(MSZ_CLI) { // Temporary backwards compatibility measure, remove this later
return;
}
$ctx = new MszContext;
$ctx = new MszContext(DB::getInstance());
// Everything below here should eventually be moved to index.php, probably only initialised when required.
// Serving things like the css/js doesn't need to initialise sessions.