I think I need to change this line in base.php:
self::$db = new PDO('sqlite:'. $config['calibre_directory'] .'metadata.db');
But I don't know exactly what...
The files of OPDS server are in the following folder: C:\Program Files\Calibre2\Calibre Server
And the metadata.db is in the folder: Z:\ServerFolders\Ebook