// load the helper plugin /** @var helper_plugin_sqlite $sqlite */ $sqlite = plugin_load('helper', 'sqlite'); if(!$sqlite){ msg('This plugin requires the sqlite plugin. Please install it', -1); return; } // initialize the database connection if(!$sqlite->init('data','/home/clients/f4b425039858465a8aa8010a2810d282/web/dokuwiki/data/meta/')){ return; } // use the plugin $res = $sqlite->query("SELECT * FROM aliases"); $arr = $sqlite->res2arr($res); print_r($arr);