mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Fixed generating urls in BrowsableFolderServeWebPage.
This commit is contained in:
parent
2effb794fd
commit
20ec9e2043
@ -132,9 +132,6 @@ void BrowsableFolderServeWebPage::evaluate_dir(const String &path, const bool to
|
||||
folders.sort();
|
||||
files.sort();
|
||||
|
||||
//folders.sort_inc();
|
||||
//files.sort_inc();
|
||||
|
||||
render_dir_page(dir_uri, folders, files, top_level);
|
||||
}
|
||||
|
||||
@ -143,6 +140,10 @@ void BrowsableFolderServeWebPage::render_dir_page(const String &dir_uri, const V
|
||||
|
||||
String uri = get_full_uri(false);
|
||||
|
||||
if (uri == "/") {
|
||||
uri = "";
|
||||
}
|
||||
|
||||
b.div("file_list");
|
||||
{
|
||||
if (!top_level) {
|
||||
|
Loading…
Reference in New Issue
Block a user