improved poster on player page

improved tile sizes for preview
This commit is contained in:
2020-06-04 00:15:06 +02:00
parent dd2e5b68a6
commit cb5c366641
7 changed files with 73 additions and 62 deletions

View File

@ -2,13 +2,13 @@
class Database
{
private static $instance = null;
private $conn;
private static ?Database $instance = null;
private mysqli $conn;
private $servername = "192.168.0.30";
private $username = "root";
private $password = "1qayxsw2";
private $dbname = "mediacenter";
private string $servername = "192.168.0.30";
private string $username = "root";
private string $password = "1qayxsw2";
private string $dbname = "mediacenter";
// The db connection is established in the private constructor.
private function __construct()
@ -34,4 +34,8 @@ class Database
{
return $this->conn;
}
public function getDatabaseName(){
return $this->dbname;
}
}