/plugin/authphpbb3/ |
H A D | auth.php | 593 $dsn = ''; 598 $dsn = ':host=' . $this->_phpbb_conf['dbhost'] . $port . 604 $dsn = 'mysql' . $dsn . ';charset=utf8'; 606 $dsn, 611 $dsn = 'pgsql' . $dsn . 614 $this->_phpbb_sql_link = new PDO($dsn); 618 $dsn = 'oci' . $dsn . ';charset=utf8'; 620 $dsn, 633 … $dsn = $host . ':' . $this->_phpbb_conf['root_path'] . $this->_phpbb_conf['dbhost']; 634 $this->_phpbb_sql_link = new PDO($dsn);
|
/plugin/authwordpress/ |
H A D | auth.php | 254 $dsn = array( 261 $dsn[] = 'port=' . $port; 263 $dsn = 'mysql:' . implode(';', $dsn); 265 $this->db = new PDO($dsn, $this->getConf('username'), $this->getConf('password'));
|
/plugin/database2/ |
H A D | database2.php | 127 private $dsn = null; variable in Database2 394 $dsn = substr( $dbPath, 1 ); 398 $dsn = 'sqlite:' . $dbPath; 400 $dsn = 'sqlite:' . metaFN( $dbPath, '.db' ); 463 $this->db = new PDO( $dsn, $username, $password ); 482 $this->dsn = $dsn; 4571 $selector = array( '@'.$this->dsn, $this->authSlot, $this->table, 4630 $selector = array( '@'.$this->dsn, $this->authSlot, $this->table,'fake',
|
H A D | media.php | 115 list( $dsn, $authSlot, $table, $column, $idColumn, $rowid, $pageID, 148 public function __construct( $dsn, $authSlot, $table, $ioIndex, argument 152 if ( !$this->connect( $dsn, $authSlot ) ) 219 $db = new Database2_media( $dsn, $authSlot, $table, $ioIndex, $pageID );
|
/plugin/davcal/vendor/sabre/dav/bin/ |
H A D | migrateto17.php | 50 $dsn = $argv[1]; variable 54 echo "Connecting to database: " . $dsn . "\n"; 56 $pdo = new PDO($dsn, $user, $pass);
|
H A D | migrateto20.php | 56 $dsn = $argv[1]; variable 60 echo "Connecting to database: " . $dsn . "\n"; 62 $pdo = new PDO($dsn, $user, $pass);
|
H A D | migrateto21.php | 57 $dsn = $argv[1]; variable 61 echo "Connecting to database: " . $dsn . "\n"; 63 $pdo = new PDO($dsn, $user, $pass);
|
H A D | migrateto30.php | 56 $dsn = $argv[1]; variable 60 echo "Connecting to database: " . $dsn . "\n"; 62 $pdo = new PDO($dsn, $user, $pass);
|
/plugin/dbquery/ |
H A D | helper.php | 36 * @param string|null $dsn 41 public function getPDO($dsn = null, $user = null, $pass = null) argument 43 $dsn = $dsn ?: $this->getConf('dsn'); 46 $conid = md5($dsn . $user . $pass); 56 $this->pdo[$conid] = new PDO($dsn, $user, $pass, $opts);
|
/plugin/elasticsearch/ |
H A D | composer.lock | 182 "name": "nyholm/dsn", 186 "url": "https://github.com/Nyholm/dsn.git", 191 "url": "https://api.github.com/repos/Nyholm/dsn/zipball/9445621b426bac8c0ca161db8cd700da00a4e618", 227 "dsn", 228 "dsn parser", 232 "issues": "https://github.com/Nyholm/dsn/issues", 233 "source": "https://github.com/Nyholm/dsn/tree/2.0.1" 434 "nyholm/dsn": "^2.0.0",
|
/plugin/elasticsearch/helper/ |
H A D | client.php | 68 $dsn = ['servers' => []]; 79 $dsn['servers'][] = compact('host', 'port', 'proxy', 'username', 'password'); 82 $this->elasticaClient = new \Elastica\Client($dsn);
|
/plugin/elasticsearch/vendor/nyholm/dsn/ |
H A D | CHANGELOG.md | 19 * DsnParser::parseUrl(string $dsn): Url 20 * DsnParser::parsePath(string $dsn): Path 35 $dsn = new \Nyholm\DSN('mysql://localhost'); 38 $dsn = new \Nyholm\Dsn\DsnParser::parse('mysql://localhost');
|
H A D | README.md | 3 [![Latest Version](https://img.shields.io/github/release/Nyholm/dsn.svg?style=flat-square)](https://github.com/Nyholm/dsn/releases) 4 [![Quality Score](https://img.shields.io/scrutinizer/g/Nyholm/dsn.svg?style=flat-square)](https://scrutinizer-ci.com/g/Nyholm/dsn) 6 [![Total Downloads](https://img.shields.io/packagist/dt/nyholm/dsn.svg?style=flat-square)](https://packagist.org/packages/nyholm/dsn) 16 composer require nyholm/dsn 24 $dsn = DsnParser::parse('http://127.0.0.1/foo/bar?key=value'); 25 echo get_class($dsn); // "Nyholm\Dsn\Configuration\Url" 26 echo $dsn [all...] |
/plugin/elasticsearch/vendor/nyholm/dsn/src/ |
H A D | DsnParser.php | 29 * string, then a "dsn()" function will be added. 33 public static function parseFunc(string $dsn): DsnFunction argument 37 if (1 === preg_match(self::FUNCTION_REGEX, $dsn, $matches)) { 42 $functionName = 'dsn'; 43 $arguments = $dsn; 47 throw new SyntaxException($dsn, 'dsn' === $functionName ? 'The DSN is empty' : 'A function must have arguments, an empty string was provided.'); 64 public static function parse(string $dsn): Dsn argument 66 if (1 === preg_match(self::FUNCTION_REGEX, $dsn, $matches)) { 67 if ('dsn' 76 parseUrl(string $dsn) global() argument 86 parsePath(string $dsn) global() argument 99 parseArguments(string $dsn) global() argument 113 getDsn(string $dsn) global() argument 162 explodeUrl(string $url, string $dsn) global() argument [all...] |
/plugin/elasticsearch/vendor/nyholm/dsn/src/Exception/ |
H A D | DsnTypeNotSupported.php | 15 * @param Dsn|string $dsn 17 public static function onlyUrl($dsn): self argument 19 return new self((string) $dsn, 'Only DSNs of type "URL" is supported.'); 23 * @param Dsn|string $dsn 25 public static function onlyPath($dsn): self argument 27 return new self((string) $dsn, 'Only DSNs of type "path" is supported.');
|
H A D | FunctionNotSupportedException.php | 19 public function __construct(string $dsn, string $function, ?string $message = null) argument 21 parent::__construct($dsn, $message ?? sprintf('Function "%s" is not supported', $function));
|
H A D | FunctionsNotAllowedException.php | 14 public function __construct(string $dsn) argument 16 parent::__construct($dsn, 'Function are not allowed in this DSN');
|
H A D | InvalidDsnException.php | 17 private $dsn; variable in Nyholm\\Dsn\\Exception\\InvalidDsnException 19 public function __construct(string $dsn, string $message) argument 21 $this->dsn = $dsn; 22 parent::__construct(sprintf('%s (%s)', $message, $dsn)); 27 return $this->dsn;
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | ClientConfiguration.php | 77 if ('dsn' === $func->getName()) { 78 /** @var Url $dsn */ 79 $dsn = $func->first(); 80 $clientConfiguration = self::fromArray(self::parseDsn($dsn)); 172 private static function parseDsn(Url $dsn): array argument 174 $data = ['host' => $dsn->getHost()]; 176 if (null !== $dsn->getScheme()) { 177 $data['transport'] = $dsn->getScheme(); 180 if (null !== $dsn->getUser()) { 181 $data['username'] = $dsn [all...] |
/plugin/freechat/phpfreechat/src/containers/ |
H A D | oracle.class.php | 145 $dsn = array( 152 $this->_db = DB::connect($dsn);
|
/plugin/mermaid/ |
H A D | mermaid.min.js | [all...] |
/plugin/pgsqlquery/ |
H A D | syntax.php | 89 $dsn = "pgsql:host=$host;dbname=$DB;user=$user;password=$password"; 94 $link = new PDO($dsn);
|
/plugin/semanticdata/phpSesame/ |
H A D | phpSesame.php | 45 private $dsn; variable in phpSesame
|
/plugin/sentry/ |
H A D | helper.php | 21 $dsn = []; 22 $dsn['protocol'] = $parts['scheme']; 23 $dsn['public'] = $parts['user']; 24 $dsn['secret'] = $parts['pass']; 26 $dsn['url'] = $parts['host']; 34 $dsn['path'] = $path; 36 return $dsn; 46 $dsn = $this->parseDSN(); 47 …return $dsn['protocol'] . '://' . $dsn['url'] . $dsn['path'] . '/api/' . $dsn['project'] . '/store… 57 $dsn = $this->parseDSN(); [all …]
|
/plugin/sql/ |
H A D | DB.php | 17 function __construct($dsn, $username="", $password="", $driver_options=array()) { argument 18 parent::__construct($dsn,$username,$password, $driver_options); 60 static function &connect($dsn, $options = array()) argument 62 if (! is_array($dsn) && strpos($dsn,'//')) { 63 $parts = explode('/', $dsn); 68 $dsn = $dsna; 70 …if (is_array($dsn)) $obj = new MDB3($dsn['phptype'].':host='.$dsn['hostspec'].';dbname='.$dsn['dat… 71 else $obj = new MDB3($dsn); 73 $obj->dsn = $dsn;
|