1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

Add ability to override file name (path) when loading dump from webserver

This commit is contained in:
Andrea Giacobino
2017-09-27 18:09:14 +02:00
committed by Jakub Vrana
parent 72aa3c5127
commit 5cc831c1e1
4 changed files with 20 additions and 4 deletions

View File

@@ -850,6 +850,13 @@ class Adminer {
return $ext;
}
/** Set the path of the file for webserver load
* @return string path of the sql dump file
*/
function importServerPath() {
return "adminer.sql";
}
/** Print homepage
* @return bool whether to print default homepage
*/