2022-07-15 21:54:58 +03:00

26 lines
435 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/*
* Класс для работы с базой данных
* @package freecms
*/
namespace freecms\classes;
//Используем класс PDO для подключения к БД
use PDO;
/*
* Класс для работы с БД
*/
class db
{
// Переменная инициализации PDO
private PDO $pdo;
public function __construct()
{
$this->pdo = new PDO ("");
}
}