Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.161.182
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
dbal /
src /
Driver /
Delete
Unzip
Name
Size
Permission
Date
Action
API
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
AbstractOracleDriver
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
AbstractSQLServerDriver
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Exception
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
IBMDB2
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Middleware
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Mysqli
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
OCI8
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
PDO
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
SQLSrv
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
AbstractDB2Driver.php
1.4
KB
-rw-rw-r--
2022-08-21 14:21
AbstractException.php
1.05
KB
-rw-rw-r--
2022-08-21 14:21
AbstractMySQLDriver.php
4.78
KB
-rw-rw-r--
2022-08-21 14:21
AbstractOracleDriver.php
1.8
KB
-rw-rw-r--
2022-08-21 14:21
AbstractPostgreSQLDriver.php
2.7
KB
-rw-rw-r--
2022-08-21 14:21
AbstractSQLServerDriver.php
1.52
KB
-rw-rw-r--
2022-08-21 14:21
AbstractSQLiteDriver.php
1.39
KB
-rw-rw-r--
2022-08-21 14:21
Connection.php
1.89
KB
-rw-rw-r--
2022-08-21 14:21
Exception.php
408
B
-rw-rw-r--
2022-08-21 14:21
FetchUtils.php
1.27
KB
-rw-rw-r--
2022-08-21 14:21
Middleware.php
168
B
-rw-rw-r--
2022-08-21 14:21
Result.php
2.44
KB
-rw-rw-r--
2022-08-21 14:21
ServerInfoAwareConnection.php
543
B
-rw-rw-r--
2022-08-21 14:21
Statement.php
3.89
KB
-rw-rw-r--
2022-08-21 14:21
Save
Rename
<?php namespace Doctrine\DBAL\Driver; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Driver\API\ExceptionConverter; use Doctrine\DBAL\Driver\API\MySQL; use Doctrine\DBAL\Exception; use Doctrine\DBAL\Platforms\AbstractMySQLPlatform; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Platforms\MariaDb1027Platform; use Doctrine\DBAL\Platforms\MySQL57Platform; use Doctrine\DBAL\Platforms\MySQL80Platform; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Schema\MySQLSchemaManager; use Doctrine\DBAL\VersionAwarePlatformDriver; use Doctrine\Deprecations\Deprecation; use function assert; use function preg_match; use function stripos; use function version_compare; /** * Abstract base implementation of the {@see Driver} interface for MySQL based drivers. */ abstract class AbstractMySQLDriver implements VersionAwarePlatformDriver { /** * {@inheritdoc} * * @throws Exception */ public function createDatabasePlatformForVersion($version) { $mariadb = stripos($version, 'mariadb') !== false; if ($mariadb && version_compare($this->getMariaDbMysqlVersionNumber($version), '10.2.7', '>=')) { return new MariaDb1027Platform(); } if (! $mariadb) { $oracleMysqlVersion = $this->getOracleMysqlVersionNumber($version); if (version_compare($oracleMysqlVersion, '8', '>=')) { return new MySQL80Platform(); } if (version_compare($oracleMysqlVersion, '5.7.9', '>=')) { return new MySQL57Platform(); } } Deprecation::trigger( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5060', 'MySQL 5.6 support is deprecated and will be removed in DBAL 4.' . ' Consider upgrading to MySQL 5.7 or later.' ); return $this->getDatabasePlatform(); } /** * Get a normalized 'version number' from the server string * returned by Oracle MySQL servers. * * @param string $versionString Version string returned by the driver, i.e. '5.7.10' * * @throws Exception */ private function getOracleMysqlVersionNumber(string $versionString): string { if ( preg_match( '/^(?P<major>\d+)(?:\.(?P<minor>\d+)(?:\.(?P<patch>\d+))?)?/', $versionString, $versionParts ) === 0 ) { throw Exception::invalidPlatformVersionSpecified( $versionString, '<major_version>.<minor_version>.<patch_version>' ); } $majorVersion = $versionParts['major']; $minorVersion = $versionParts['minor'] ?? 0; $patchVersion = $versionParts['patch'] ?? null; if ($majorVersion === '5' && $minorVersion === '7') { $patchVersion ??= '9'; } return $majorVersion . '.' . $minorVersion . '.' . $patchVersion; } /** * Detect MariaDB server version, including hack for some mariadb distributions * that starts with the prefix '5.5.5-' * * @param string $versionString Version string as returned by mariadb server, i.e. '5.5.5-Mariadb-10.0.8-xenial' * * @throws Exception */ private function getMariaDbMysqlVersionNumber(string $versionString): string { if ( preg_match( '/^(?:5\.5\.5-)?(mariadb-)?(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)/i', $versionString, $versionParts ) === 0 ) { throw Exception::invalidPlatformVersionSpecified( $versionString, '^(?:5\.5\.5-)?(mariadb-)?<major_version>.<minor_version>.<patch_version>' ); } return $versionParts['major'] . '.' . $versionParts['minor'] . '.' . $versionParts['patch']; } /** * {@inheritdoc} * * @return AbstractMySQLPlatform */ public function getDatabasePlatform() { return new MySQLPlatform(); } /** * {@inheritdoc} * * @deprecated Use {@link AbstractMySQLPlatform::createSchemaManager()} instead. * * @return MySQLSchemaManager */ public function getSchemaManager(Connection $conn, AbstractPlatform $platform) { Deprecation::triggerIfCalledFromOutside( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5458', 'AbstractMySQLDriver::getSchemaManager() is deprecated.' . ' Use MySQLPlatform::createSchemaManager() instead.' ); assert($platform instanceof AbstractMySQLPlatform); return new MySQLSchemaManager($conn, $platform); } public function getExceptionConverter(): ExceptionConverter { return new MySQL\ExceptionConverter(); } }