Preview text files by default through a weblink

unvo 1 year ago 0


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.