diff options
author | Adam Spragg <adam@spra.gg> | 2018-07-26 15:09:50 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2018-07-26 15:09:50 +0100 |
commit | f80f775dfbe12cf6b95bda38b73f5dc37327d7fa (patch) | |
tree | b8f597150176d028da15fdb135e372dbc8b11239 /rawdog/page.template | |
parent | 4daf6063d86efc8fda2f8286a2474247f62359a3 (diff) |
Change the "private file" prefix from "@" to "_"
It has all the benefits previously mentioned in commit 2f547251, as well
as mirroring the common programming convention of using a "_" prefix to
identify private variables/functions
Hides files beginning with _ from mod_autoindex listings
As well as 404ing on files starting with "_", also 404 on files starting
with ".", as these are also private. Except for /.well-known/, because
that's... well known, and should be public.
Diffstat (limited to 'rawdog/page.template')
-rw-r--r-- | rawdog/page.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rawdog/page.template b/rawdog/page.template index 050f719..df5e817 100644 --- a/rawdog/page.template +++ b/rawdog/page.template @@ -1,4 +1,4 @@ -<?php include '@include.php'; ?><!DOCTYPE html> +<?php include '_include.php'; ?><!DOCTYPE html> <html lang="en"> <head> <?php echo indent(site_head('Blog - Spragg Software Services Ltd.'), 2); ?> |