Add missing Steven API runtime files

This commit is contained in:
Power BI Dev
2026-05-07 23:26:57 +07:00
parent f10dcda541
commit a1abe25ac9
67 changed files with 9566 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
class createCon
{
public $host = 'localhost';
public $user = 'spota_informatika';
public $pass = 'Eud!}ZML3HVO';
public $db = 'spota_spotadb';
public $myconn;
public function connect()
{
$con = new PDO('mysql:host='.$this->host.';dbname='.$this->db, $this->user, $this->pass);
if (!$con) {
die('Could not connect to database!');
} else {
$this->myconn = $con;
}
return $this->myconn;
}
public function close()
{
$this->myconn = null;
}
}