Searched refs:dbPath (Results 1 – 1 of 1) sorted by relevance
383 * @param string $dbPath database selector389 public function connect( $dbPath, $authConfigSlot = null ) argument392 $dbPath = trim( $dbPath );393 if ( $dbPath[0] == '@' )394 $dsn = substr( $dbPath, 1 );395 else if ( ( $dbPath[0] == '/' ) && !self::getConf( 'useslash' ) &&396 is_dir( dirname( $dbPath ) ) &&397 !preg_match( '#(\.\.)|(^\/(etc)\/)#', $dbPath ) )398 $dsn = 'sqlite:' . $dbPath;400 $dsn = 'sqlite:' . metaFN( $dbPath, '.db' );