Skip to content

Commit

Permalink
Resolved Issue ID 0000474 (Step 2):
Browse files Browse the repository at this point in the history
  o Add .htaccess files

=>
  * admin
      - .htaccess = deny from all
  * doc
      - no .htaccess
  * galleries
      - .htaccess = Options -Indexes
  * include
      - .htaccess = deny from all
      => move 2 .js in template-common
  * install
      - .htaccess = deny from all
  * language
      - .htaccess = deny from all
  * template
      - .htaccess = Options -Indexes
  * template-common
      - .htaccess = Options -Indexes
  * template-extension
      - .htaccess = Options -Indexes
  * tools
      - no .htaccess


git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rub committed Jul 26, 2006
1 parent e7f8b14 commit 7ca3172
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions admin/.htaccess
@@ -0,0 +1 @@
deny from all
1 change: 1 addition & 0 deletions include/.htaccess
@@ -0,0 +1 @@
deny from all
1 change: 1 addition & 0 deletions install/.htaccess
@@ -0,0 +1 @@
deny from all
1 change: 1 addition & 0 deletions language/.htaccess
@@ -0,0 +1 @@
deny from all
2 changes: 2 additions & 0 deletions template-common/.htaccess
@@ -0,0 +1,2 @@
Options -Indexes

File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions template-extension/.htaccess
@@ -0,0 +1,2 @@
Options -Indexes

2 changes: 2 additions & 0 deletions template/.htaccess
@@ -0,0 +1,2 @@
Options -Indexes

4 changes: 2 additions & 2 deletions template/yoga/header.tpl
Expand Up @@ -22,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
<!-- END refresh -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
<script type="text/javascript" src="{pwg_root}template-common/scripts.js"></script>
<!--[if lt IE 7]>
<style>
/* only because we need \{pwg_root\} otherwise use fix-ie5-ie6.css */
Expand All @@ -32,7 +32,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
}
FORM { behavior: url("{pwg_root}template-common/inputfix.htc"); }
</style>
<script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
<script type="text/javascript" src="{pwg_root}template-common/pngfix.js"></script>
<![endif]-->
</head>

Expand Down

0 comments on commit 7ca3172

Please sign in to comment.