Lines Matching refs:sqlite
14 protected $sqlite; variable in helper_plugin_extendpage_db
32 $this->sqlite = plugin_load('helper', 'sqlite');
33 if (!$this->sqlite) {
38 if ($this->sqlite->getAdapter() === null) {
40 $this->sqlite = null;
44 if ($this->sqlite->getAdapter()->getName() != DOKU_EXT_PDO) {
46 $this->sqlite = null;
49 $this->sqlite->getAdapter()->setUseNativeAlter(true);
52 if (!$this->sqlite->init('extendpage', DOKU_PLUGIN . 'extendpage/db/')) {
54 $this->sqlite = null;
67 …if ($this->sqlite && $conf['metadir'] != substr($this->sqlite->getAdapter()->getDbFile(), 0, $len)…
70 if (!$this->sqlite && $throw) {
73 return $this->sqlite;
83 if (!$this->sqlite) return;
84 $file = $this->sqlite->getAdapter()->getDbFile();