/**
* Download the sqlite database
+ * Function not longer used for security reasons
*/
- public static function downloadDb()
- {
- header('Content-Disposition: attachment; filename="poche.sqlite.gz"');
- self::_status(200);
- header('Content-Transfer-Encoding: binary');
- header('Content-Type: application/octet-stream');
- echo gzencode(file_get_contents(STORAGE_SQLITE));
+ // public static function downloadDb()
+ // {
+ // header('Content-Disposition: attachment; filename="poche.sqlite.gz"');
+ // self::_status(200);
- exit;
- }
+ // header('Content-Transfer-Encoding: binary');
+ // header('Content-Type: application/octet-stream');
+ // echo gzencode(file_get_contents(STORAGE_SQLITE));
+
+ // exit;
+ // }
/**
* Get the content for a given URL (by a call to FullTextFeed)