Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Crazy idea. [include:sites/all/myfile.txt] to read the file and output the contents. :)
Comments
Comment #1
Dave ReidComment #2
gregglesNeeds some...protection to make sure it's only accessing things inside the files dir. I'm not sure people would use it, but....maybe it's a good idea.
Comment #3
Dave ReidYeah, leaving this postponed for now, but this has come-up enough with clients that they wanted an easy way to do this.
Comment #4
Dave Reid