summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/access.php b/core/helpers/access.php
index f2949528..b8aee683 100644
--- a/core/helpers/access.php
+++ b/core/helpers/access.php
@@ -468,7 +468,7 @@ class access_Core {
*/
private static function _create_htaccess_files($album) {
foreach (array($album->file_path(), dirname($album->resize_path())) as $dir) {
- $base_url = url::site("file");
+ $base_url = url::site("file_proxy");
$fp = fopen("$dir/.htaccess", "w+");
fwrite($fp, "<IfModule mod_rewrite.c>\n");
fwrite($fp, " RewriteEngine On\n");