aboutsummaryrefslogtreecommitdiffhomepage
path: root/shaarli_version.php
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-02-25 13:25:45 +0100
committernodiscc <nodiscc@gmail.com>2015-02-25 13:25:45 +0100
commitdbcad7406eedaeba259a6e1584ba3b0823115c8d (patch)
tree3a3078a99295182d810cf86b5fb62b9e3abe4279 /shaarli_version.php
parent0c5746061e49fb857ce2c170ade8ad7dc594a405 (diff)
downloadShaarli-dbcad7406eedaeba259a6e1584ba3b0823115c8d.tar.gz
Shaarli-dbcad7406eedaeba259a6e1584ba3b0823115c8d.tar.zst
Shaarli-dbcad7406eedaeba259a6e1584ba3b0823115c8d.zip
Prevent visitors from reading shaarli version
* fixes https://github.com/shaarli/Shaarli/issues/122 * the shaarli version is now in a php comment block, which prevents visitors from reading it when it is place on a PHP-enabled server, but still allows the update mechanism to read it from the source on github.
Diffstat (limited to 'shaarli_version.php')
-rw-r--r--shaarli_version.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/shaarli_version.php b/shaarli_version.php
new file mode 100644
index 00000000..d266380a
--- /dev/null
+++ b/shaarli_version.php
@@ -0,0 +1 @@
<?php /* 0.0.43beta */ ?>