Searched refs:dbPath (Results 1 – 2 of 2) sorted by relevance
22 $dbPath = $saveDir . '/sphinxsearchwas';25 if (!is_dir($dbPath)) {26 @mkdir($dbPath, 0777, true);29 $this->_dbFile = $dbPath . '/pages.db';
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' );