summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/access.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-09-07 18:53:25 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-09-07 18:53:25 -0700
commit5a26dd542a3cb4974870bcfeec4864d1daa616c4 (patch)
treedede0baa9ba893a4987bffc7ddaf925694e5ddde /modules/gallery/helpers/access.php
parentb6fa33faf789749f4de3f4eadf8832748372c980 (diff)
parentd398651c080c18e4f1bf623548091465dac1d528 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/access.php')
-rw-r--r--modules/gallery/helpers/access.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index f1ea00c0..86ea9572 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -694,6 +694,7 @@ class access_Core {
@mkdir(VARPATH . "security_test");
try {
if ($fp = @fopen(VARPATH . "security_test/.htaccess", "w+")) {
+ fwrite($fp, "Options +FollowSymLinks\n");
fwrite($fp, "RewriteEngine On\n");
fwrite($fp, "RewriteRule verify $success_url [L]\n");
fclose($fp);