diff options
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Tools.class.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index c2c1bdab..55fedac8 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -295,23 +295,6 @@ final class Tools | |||
295 | } | 295 | } |
296 | 296 | ||
297 | /** | 297 | /** |
298 | * Download the sqlite database | ||
299 | * Function not longer used for security reasons | ||
300 | */ | ||
301 | |||
302 | // public static function downloadDb() | ||
303 | // { | ||
304 | // header('Content-Disposition: attachment; filename="poche.sqlite.gz"'); | ||
305 | // self::_status(200); | ||
306 | |||
307 | // header('Content-Transfer-Encoding: binary'); | ||
308 | // header('Content-Type: application/octet-stream'); | ||
309 | // echo gzencode(file_get_contents(STORAGE_SQLITE)); | ||
310 | |||
311 | // exit; | ||
312 | // } | ||
313 | |||
314 | /** | ||
315 | * Get the content for a given URL (by a call to FullTextFeed) | 298 | * Get the content for a given URL (by a call to FullTextFeed) |
316 | * | 299 | * |
317 | * @param Url $url | 300 | * @param Url $url |