0

Preview text files by default through a weblink

unvo 7 months ago 0

Hello,

I added the following advanced configuration to the file "filerun/customizables/config.php" :

$config["app"]["weblinks"]["show_page_before_download"] = true;

It works as expected except when creating a weblink with the option "Prevent the browser from opening the file" enabled.

Not a big deal, however I need to disable this option each time I create a weblink for a text file.

Changelog, release of 2018.05.22 :

Improvement: Web links created for plain text files get the option "Prevent the browser from opening the file." enabled by default.

Is this behaviour intended ? If yes, could it be possible to have a config to disable this option by default ?

Thank you.