Added the first cdn

This commit is contained in:
2022-07-19 21:10:42 +02:00
parent dd94bf8159
commit 4b9abfd36d
10 changed files with 546 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
class DB {
private static MySQL $database;
public static function get(): MySQL {
return self::$database;
}
public static function init($hostname = "localhost", $username = "root", $password, $database) {
self::$database = new MySQL($hostname, $username, $password, $database);
}
}