<?php

declare(strict_types=1);

date_default_timezone_set('Asia/Tehran');

error_reporting(E_ALL);
ini_set('display_errors', '1');

require_once dirname(__DIR__) . '/autoload.php';
require_once dirname(__DIR__) . '/Core/env.php';
Env::load(dirname(__DIR__) . '/.env');

require_once dirname(__DIR__) . '/config.php';
require_once dirname(__DIR__) . '/Helpers/numberToPersianWords.php';

if (!isset($pdo)) {
    throw new RuntimeException('PDO connection not found.');
}
