����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.144.84.11 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/./gltevjme/bofirm.gltechlimited.com/vendor/doctrine/dbal/src/Driver/SQLite3/ |
Upload File : |
<?php namespace Doctrine\DBAL\Driver\SQLite3; use Doctrine\DBAL\Driver\AbstractSQLiteDriver; use Doctrine\DBAL\Driver\API\SQLite\UserDefinedFunctions; use SensitiveParameter; use SQLite3; final class Driver extends AbstractSQLiteDriver { /** * {@inheritDoc} */ public function connect( #[SensitiveParameter] array $params ): Connection { $isMemory = (bool) ($params['memory'] ?? false); if (isset($params['path'])) { if ($isMemory) { throw new Exception( 'Invalid connection settings: specifying both parameters "path" and "memory" is ambiguous.', ); } $filename = $params['path']; } elseif ($isMemory) { $filename = ':memory:'; } else { throw new Exception( 'Invalid connection settings: specify either the "path" or the "memory" parameter for SQLite3.', ); } try { $connection = new SQLite3($filename); } catch (\Exception $e) { throw Exception::new($e); } $connection->enableExceptions(true); UserDefinedFunctions::register([$connection, 'createFunction']); return new Connection($connection); } }